Very Strange IE Bug

Very Strange IE Bug


Hi jQuery Dev,
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:
http://code.riiv.net/demos/iebug.html
in ie, if you click get length, it will return 1, whereas in other
browser 4.
any ideas?