Si Str contient jQuery
if (str.indexOf("Yes") >= 0)
//case insensitive version
if (str.toLowerCase().indexOf("yes") >= 0)
Andrew Lautenbach
if (str.indexOf("Yes") >= 0)
//case insensitive version
if (str.toLowerCase().indexOf("yes") >= 0)
$( "div:contains( 'hello' )" )
$( "div:contains('innerText')" );