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?
Not sure how to combine a selector like this but I think if you use the filter function you can filter out the first query:
Notice that I just played around a bit more with this and that function works:
but this gives me the same error you mentionned:
So it seems to me like a bug with the ExtJS query function when you pass a specific root with multiple attribute selectors.