Reputation: 5988
I need a jquery ninja to help me find the best jquery selector to solve my need:
// pseudo jquery selector:
var match = $('table[facet=ProductCateogory or ProductCatagoryTier2 or DocumentCategory]')
// this would not match:
<table facet="EiaBrand"
// this would match:
<table facet="ProductCategory"
Upvotes: 0
Views: 109
Reputation: 817228
I think you have to specify them separately using the multiple selector ,
:
var match = $('table[facet=ProductCateogory],table[facet=ProductCatagoryTier2],table[facet=DocumentCategory]')
Upvotes: 3