Skip to main content

Bug Tracker

Side navigation

#3259 closed bug (duplicate)

Opened August 18, 2008 02:44PM UTC

Closed May 06, 2009 03:01AM UTC

jQuery attr returns unexpected value

Reported by: ben Owned by: flesler
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: Cc: ben
Blocked by: Blocking:

$("some_input_element").attr("value") returns the inner HTML of the input element on Internet Explorer (see attached test case). In Firefox 3, it behaves as expected, returning the "value" attribute of the input element.

Please see this link for the thread I started on the jQuery discussion list. It has more details on what I think may be wrong:

Attachments (1)
  • test_ie_attr.html (0.4 KB) - added by ben August 18, 2008 02:47PM UTC.

    HTML test of behavior

Change History (2)

Changed August 19, 2008 11:45AM UTC by flesler comment:1

cc: → ben
owner: → flesler
status: newassigned

Changed May 06, 2009 03:01AM UTC by dmethvin comment:2

resolution: → duplicate
status: assignedclosed

Duplicate of #1954