Querying JQuery
10.03.2006 - 21:42 (4 years, 6 months ago)
Filed under programming, javascript, download, TrivadisContent
It allows you to type a string in the querying syntax supported by the Jquery library and the code will add a border to the newly selected element. It will also allow you to click an element, which will make it the current context. The query that you now type in will be within the context of the selected element. That’s all for now.
Anyway, all in all it turns out to work pretty well, so, respect for this lovely library…However, a tiny amount of the queries that are said to be supported didn’t work for me, or not in the way I first thought. I didn’t get to work the CSS-based query with nth-of-type(n). The selection of parents works, but if you want to choose the div enclosing the div.unify you need to write div.unify/../../div and not //div.unify/../div.
Right, go querying!