Bug Tracker

Modify

Ticket #9343 (closed bug: worksforme)

Opened 2 years ago

Last modified 2 years ago

<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:
Blocking: Blocked by:

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

comment:1 Changed 2 years ago by timmywil

  • Priority changed from undecided to low
  • Resolution set to worksforme
  • Status changed from new to closed
  • Component changed from unfiled to manipulation

comment:2 Changed 2 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 2 years ago by anonymous

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.