> however the bug is only visible in a complex script, and within th Firebug > Inspector (but I can assure you it breaks my script), and I was not able to > write a simple test... so you might prefer to ignore me :)
OK, Bertrand (a.k.a. Toggg) has found a simple test case: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>jQuery filter test</title> <script src="http://jquery.com/src/jquery-latest.js" type="text/javascript"></script> <script type="text/javascript"> $(function() { $("h1").filter([".one", ".three"]).css("background", "red"); }); </script> </head> <body> <h1 class="one">class one</h1> <h1 class="two">class two</h1> <h1 class="three">class three</h1> gives <br /> Error: elem has no properties Source File: http://jquery.com/src/jquery-latest.js Line: 721 </body> </html> So this is in the case an element of $("h1") does not match any selector. The same error appears if you change the selector to: $("h1").filter([".one", ".nomatch"]).css("background", "red"); Now, it breaks when a selector does not match any element of $("h1"). In both cases the patch clears the issue -- Fil _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/