Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JQuery .hasClass for multiple values in an if statement

if ($('html').is('.m320, .m768')) { ... }
//https://stackoverflow.com/questions/10559153/jquery-hasclass-for-multiple-values-in-an-if-statement
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JQuery #multiple #values #statement
ADD COMMENT
Topic
Name
5+7 =