Jquery - equivalent to Prototype.js "matchotype" function
I am upgrading my application from prototype.js to jquery.
I have this code (prototype.js):
var el = ... /* this is done */
if (el.match('.pagination a') && el.href) {
doAjaxStuff()
}
What's the equivalent of Element.match in jquery?
+3
source to share