Skip to main content

Bug Tracker

Side navigation

#3315 closed bug (duplicate)

Opened September 01, 2008 07:41PM UTC

Closed February 07, 2009 03:36AM UTC

Strange jQuery attributes cause selector to fail in IE

Reported by: raid_ox Owned by:
Priority: major Milestone: 1.3
Component: selector Version: 1.2.6
Keywords: selector, internet explorer, ie, html() Cc:
Blocked by: Blocking:

In internet explorer, using $('selector').html() will emit strange

jquery attributes that sometimes can cause problem:

$('#test').html() <-- <li jQuery32491238934="2"><span

jQuery32491238934="null" class="name>...

the problem is, when you need to insert those string back to html, the

selector won't work properly.

I created a demo to demonstrate this problem:

in ie, if you click get length, it will return 1, whereas in other

browser 4.

any ideas?

Attachments (1)
  • ie7bug.html (1.4 KB) - added by raid_ox September 01, 2008 07:42PM UTC.

    Test Case

Change History (1)

Changed February 07, 2009 03:36AM UTC by dmethvin comment:1

resolution: → duplicate
status: newclosed

This is a manifestation of #3254 so I'll close this ticket as a dup.