Think I Found Important Bug in jQuery 1.3
Posted: Tue Jan 20, 2009 4:24 am
I think I found an important bug this morning in jQuery 1.3. The selector by attribute technique like:
Let's say I have a DIV id=something and inside there's a hyperlink with id=43332, and I want to use the following code to hide it:
$('#something A[@id=43332]').hide();
This used to work with 1.2.6. But not with 1.3. Instead, I get a syntax error that the item cannot be found.
So, I removed the #something out to test, and again, the same error.
I switched back to jQuery 1.2.6 and the problem was resolved.
...Now off to the jQuery bug report site...
Let's say I have a DIV id=something and inside there's a hyperlink with id=43332, and I want to use the following code to hide it:
$('#something A[@id=43332]').hide();
This used to work with 1.2.6. But not with 1.3. Instead, I get a syntax error that the item cannot be found.
So, I removed the #something out to test, and again, the same error.
I switched back to jQuery 1.2.6 and the problem was resolved.
...Now off to the jQuery bug report site...