[jQuery] xpath selectors
[jQuery] xpath selectors
In the examples for Xpath, the "preceding-sibling" selector is used. This does not seem to work for me. Also, is "following-sibling" supported? (I looked at the source, in $.g, but neither of these appeared there.)
the xpath example
<pre>$("//div/preceding-sibling::form")
</pre>did not work for me.
I would like to select the <li> immediately preceding a <ul>
(This would be handy for all sorts of things like menus, map legends, etc....)
<br clear="all">
--
Jeremiah Knoche
<a href="mailto:KnocheJ@gmail.com">KnocheJ@gmail.com</a>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/