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

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -