Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

if str contains jquery

if (str.indexOf("Yes") >= 0)
  
  //case insensitive version
  if (str.toLowerCase().indexOf("yes") >= 0)
 
PREVIOUS NEXT
Tagged: #str #jquery
ADD COMMENT
Topic
Name
8+2 =