Hi,
>From 1.3.1 to 1.3.2 sibling selector does not work anymore:
http://jquery.nodnod.net/cases/277
<script>
$(document).ready(function() {
module("Sibling in jquery-1.3.2");
test("Sibling filter", function() {
var length = jQuery("li.selected").siblings("li").length;
equals(length, 2, "sibling filter length");
});
test("Sibling selector", function() {
var length = jQuery("li.selected ~ li").length;
equals(length, 2, "sibling selector length");
});
});
</script>
...
<ul>
<li class="selected">ichi</li>
<li>ni</li>
<li>san</li>
</ul>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---