Selecting elements that do not contain a certain ID using ExtJS
- by pmdarrow
I'm trying to select all the <input> elements of a form except ones with IDs containing the words foo or bar. How can I do this using ExtJS 2.3.0? I've tried the following:
Ext.query("select,input:not([id*=foo][id*=bar])", "SomeForm");`
... but it doesn't work. Excluding IDs with foo in them seems to work fine:
Ext.query("select,input:not([id*=foo])", "SomeForm")`
I'm just not sure how to add a second ID substring. Any Ideas?