html - jquery regex .* not working in jquery -
use jQuery to find a button using one page "id = btn. ar" Effort. No one even matches, even if the button is clearly on the page. Is there something else about * Is Jquery different from other Regex? The button exact ID is BTN clear, so it is clear that BTN. * R $ ("id = btn. * Ar") should match
If I'm right to you I understand the way, so it should work:
$ ('button'). Filter (Tasks) {return.id.match (/ ^ BTN. * AR $ /};}) Do_something ();
Comments
Post a Comment