Side navigation
#9343 closed bug (worksforme)
Opened May 19, 2011 03:24AM UTC
Closed May 19, 2011 02:49PM UTC
Last modified May 29, 2011 07:51PM UTC
<select> added by jquery not working on ie 8
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | manipulation | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Try this on internet explorer 8.
http://remysharp.com/wp-content/uploads/2007/01/select.html
I discovered the bug trying to do something like this
$('#mydiv').append(
$('<select><option value="8.54">8.54</option><option value="8.6">8.6</option></select>')
);
OR
$('#mydiv').append(
$('<select></select>').append(
$('<option value="8.54">8.54</option>'),
$('<option value="8.6">8.6</option>')
)
);
Attachments (0)
Change History (3)
Changed May 19, 2011 02:49PM UTC by comment:1
component: | unfiled → manipulation |
---|---|
priority: | undecided → low |
resolution: | → worksforme |
status: | new → closed |
Changed May 19, 2011 10:33PM UTC by comment:2
Also, the HTML passed to jQuery()
MUST be valid markup, the case there needs a closing div tag.
Changed May 29, 2011 07:51PM UTC by comment:3
I had to reinstall my internet explorer 8, was browser bug, even that I tested on 2
Seems to work fine:
http://jsfiddle.net/timmywil/Qe9Eh/