Is it possible to use a regex in jQuery's bind method for custom events. Something like...
$(selector).bind(myRegex, function(){})
0
|
|||||
|
0
|
If you're trying to use a regex to select only certain DOM elements, you can use the .filter() method to pass in a function that would then perform regex logic to filter out the elements that don't match.
Otherwise it's not too clear what you're trying to do... |
||
|