Side navigation
#1513 closed bug (duplicate)
Opened August 17, 2007 04:30PM UTC
Closed August 24, 2007 11:43PM UTC
$('<input/>').attr() failure in IE6
Reported by: | uence | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.1.2 |
Component: | core | Version: | 1.1.4 |
Keywords: | ie6 | Cc: | |
Blocked by: | Blocking: |
Description
The code below fails in IE6 with the error:
"This command is unsupported."
''at line 562 of jquery-latest.js v.1.1.3.1''
$('<input/>') .attr({ type:'submit', name:'cancel', value:'Start over', className:'button', autocomplete:'off'})
The issue seems to be with adding attributes using the method above to the INPUT element.
Attachments (0)
Change History (4)
Changed August 23, 2007 03:31PM UTC by comment:1
Changed August 24, 2007 06:00AM UTC by comment:2
In IE, we can change the type attribute of an <input> created by document.createElement, but not one created by wrapper.innerHTML = '<input/>'.
This is an odd in IE. Should jQuery fix it?
Changed August 24, 2007 11:41PM UTC by comment:3
Same problem like http://dev.jquery.com/ticket/1359
jQuery will not fix this. Documentation available at: http://docs.jquery.com/Core#.24.28_html_.29
Changed August 24, 2007 11:43PM UTC by comment:4
milestone: | 1.1.4 → 1.1.2 |
---|---|
resolution: | → duplicate |
status: | new → closed |
version: | 1.1.3 → 1.1.4 |
works fine but
fails with "This command is unsupported" error.