Bug Tracker

Opened 11 years ago

Closed 11 years ago

#4195 closed bug (duplicate)

Cloning Option in IE

Reported by: john Owned by:
Priority: major Milestone: 1.3.2
Component: core Version: 1.3.1
Keywords: Cc:
Blocked by: Blocking:

Description

From the mailing list:

when i clone one or more selected <option> from one <select> to another there are differences between IE and firefox.

in IE the cloned element (in the second <select>) stays selected. in firefox the cloned element is not selected.

so which one is correct?

the code:

$('#myselect option:selected').clone().appendTo($('#myselect2'));

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: duplicate
Status: newclosed

This is a dup of #4193.

Note: See TracTickets for help on using tickets.