Skip to main content

Bug Tracker

Side navigation

#1267 closed bug (fixed)

Opened June 03, 2007 02:06PM UTC

Closed June 04, 2007 03:46AM UTC

Last modified June 21, 2007 03:57AM UTC

$("#bodyForm") does not work in ie

Reported by: atreeyang Owned by:
Priority: major Milestone: 1.1.3
Component: core Version: 1.1.2
Keywords: $(elementId) Cc:
Blocked by: Blocking:
Description

a html file as follows:

=

<html>

<head>

<title> bug </title>

<script type="text/javascript" src="jquery.js"></script>

</head>

<body>

<form id="bodyForm" name="haha">

<input name="id" type="hidden" value="2" />

<a href="#" onclick="alert($('#bodyForm').html())" >ok</a>

</form>

</body>

</html>

=

with a simple form, and a hidden input named "id"(<input name="''id''" type="hidden" value="2" /> ), the script $('#bodyForm').html() does not work(return null).

However, if i changed the input's name, for example --- <input name="''test''" type="hidden" value="2" /> , then all work well.

This only problem is only found in ie, firfox works well.

Attachments (0)
Change History (1)

Changed June 04, 2007 03:46AM UTC by brandon comment:1

component: ajaxcore
priority: criticalmajor
resolution: → fixed
status: newclosed

Duplicate of #1169 which is already fixed.