[jQuery] fix: name="id" bug

[jQuery] fix: name="id" bug

Hi,
The current solution didn't fix the bug for all queries and all browsers.
I found this way to solve it with IE (6 and 7b2) for queries like $('#myform'):
replace:
    '#': "a.getAttribute('id') == m[2]",
with:
    '#': "a.attributes['id'].nodeValue == m[2]",
on line 414 (from current http://jquery.com/src/dev/sane/)
It works with FF 1.5 too. I don't know for Safari, Opera and other
browsers but you can use this test page:
http://fmarcia.info/jquery/nameandid/test.html
For queries like $("form[@id='myform']"), you'll have to modified the
return value of $.attr. But any modification will imply a lot of tests
because $.attr is heavily used in jquery.
Happy debugging,
Franck.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/