Bug Tracker

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#1087 closed bug (fixed)

prependTo/appendTo on select elements

Reported by: rdrousies Owned by:
Priority: critical Milestone: 1.1.3
Component: core Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:


It seems using prependTo or appendTo on select elements only move the content of the <select>. The following example demonstrates that. (tested on firefox - linux)

         <script type="text/javascript">

             $(document).ready(function() {




         <div id="bar"><select><option>BLEH</option></select></div>
         <div id="foo"></div>

That results in:

<div id="bar"><select></select></div>
<div id="foo"><p><span>span</span></p><option>BLEH></option></div>

Change History (2)

comment:1 Changed 16 years ago by john

need: ReviewTest Case
Priority: minorcritical

comment:2 Changed 16 years ago by brandon

Resolution: fixed
Status: newclosed

The select element has a length property and bailing out in jQuery.clean.

Fixed + test in Rev. [1784].

Note: See TracTickets for help on using tickets.