jquery if element contains specific text code example
Example: jquery check if string contains specific word
var a = 'how are you';
a.includes('are'); // will return true if string contains search term
var a = 'how are you';
a.includes('are'); // will return true if string contains search term