jquery selector for all elements except attributes in an array
I have a page with an array:
var idlist = ['ID1', 'ID2', 'ID3'];
This array references <div>s in my HTML with those IDs. Each of these
<div>s also has a class .tabPage.
I'm trying to write a selector that targets all div.tabPage elements,
except for the ones with an ID in my array. I found the .not() function in
jQuery documentation, but how can I do this for multiple values?
No comments:
Post a Comment