Skip to main content

Bug Tracker

Side navigation

#8230 closed bug (wontfix)

Opened February 10, 2011 10:10AM UTC

Closed February 10, 2011 01:15PM UTC

.each meses up html code in IE 6,7, FF 3.0.6

Reported by: sandiskr@gmail.com Owned by:
Priority: low Milestone: 1.next
Component: core Version: 1.5
Keywords: needsreview Cc:
Blocked by: Blocking:
Description

Repeated here:

http://jsfiddle.net/mh3US/

Problem:

<input> tag is switched with <select> box.

Description:

.each is messing up the html code in specific browsers, like IE 6, 7 and FireFox 3.0.6. it is happening only when with specific code from other library, that is not affecting anything in newer browsers.

Happens in 1.4.x and 1.5.

Attachments (0)
Change History (1)

Changed February 10, 2011 01:15PM UTC by jitter comment:1

component: unfiledcore
keywords: → needsreview
priority: undecidedlow
resolution: → wontfix
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report and providing a test case!

The problem is that your code overwrites the already present function on jQuery.fn.sort. As jQuery.fn.sort is used internally for some browsers this causes your function to be called instead of the original one.

The solution would be to not overwrite jQuery.fn.sort and instead name your proprietary function something else.