Side navigation
#120 closed bug (invalid)
Opened August 06, 2006 06:51PM UTC
Closed August 08, 2006 03:28PM UTC
Last modified June 20, 2007 02:25AM UTC
.attr() not working in Internet Explorer
Reported by: | kkaefer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | core | Version: | 1.0 |
Keywords: | attr | Cc: | |
Blocked by: | Blocking: |
Description
The function jQuery.attr() doesn't work in Internet Explorer (I tested 6 and 7) anymore.
A test case is here: http://dump.kkaefer.com/jquery-testcase/01-attr.html
The input field should change to a button. Internet Explorer however, shows this error message (translated from German): "The 'type' property could not be found. This command isn't supported." on line 1081.
Remove all jQuery code and insert this code, the same thing happens in IE--the text field does not change to a button.
In the past, were you able to get IE to change text fields to buttons, or is this something you are trying for the first time? The Microsoft documentation for input[@type=text] says this: "As of Microsoft Internet Explorer 5, the type property is read/write-once, but only when an input element is created with the createElement method and before it is added to the document."
http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/input.asp