Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#9343 closed bug (worksforme)

<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>') ) );

Change History (3)

comment:1 Changed 9 years ago by timmywil

Component: unfiledmanipulation
Priority: undecidedlow
Resolution: worksforme
Status: newclosed

comment:2 Changed 9 years ago by dmethvin

Also, the HTML passed to jQuery() MUST be valid markup, the case there needs a closing div tag.

comment:3 Changed 9 years ago by anonymous

I had to reinstall my internet explorer 8, was browser bug, even that I tested on 2

Note: See TracTickets for help on using tickets.