I need a jquery ninja to he开发者_如何学JAVAlp 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"
I think you have to specify them separately using the multiple selector ,
:
var match = $('table[facet=ProductCateogory],table[facet=ProductCatagoryTier2],table[facet=DocumentCategory]')
精彩评论