Using a contains with variables in an if statement
in Using jQuery
•
9 years ago
I have am fairly new to jquery and was wondering what the best way to check to see if one variable contains another. My first var is a string of values. example Value1;Value2;Value3. I have tried various approaches but none have worked.
$(".EI-Disc-Outer").each(
});
Thanks
1