I have the following code which search for any dialogs which contains the text hello
.
var found = $('span.ui-dialog-title:contains("hello")');
I need the same kind of statement but the dialog title must be exactly hello
. Something like:
var found = $('span.ui-dialog-title:equals("hello")');
Unfortunately equals
does not work.