hi i was wondering if there is a way to use multiple strings in the jquery selector :contains(). for example I would liek to do something like this:
$("#"+idArray[i]).find("th:Contains(" + query && query2 + ")").closest($(".instTable, .break")).show();
similar to an if statement’s sysntax. is this possible?
thanks
Sure, as you want an
andcondition, that’s just the same as filtering for both matches independently.