Can I extend jQuery with new "tags"?
Hi,
I have a webpage that contains some tabs (div elements) and inside each of them are some sections (tables). I want to easily be able to query these elements and select fields (input, select etc.) inside them. The ultimate solution would be if I could simply write something like this:
- $("tab:eq(1) section:even() input").hide();
The tricky part here is to intersect this input and convert it into something that jQuery understands. In this case:
- $("#Tabs > div.Tab:eq(1) table.Section input").hide();
Is this possible at all?
The only extensions I can find is for the ":"-operator ($.expr[":"] = blah blah blah)
Any ideas?
Thanks!
//Casper
Topic Participants
c
eric