I have a simple if statement as such:
if ($(\'html\').hasClass(\'m320\')) { // do stuff }
This works as expected. However, I want to add
Try this:
if ($('html').hasClass('class1 class2')) { // do stuff }