may88seiji
7/17/2017 - 2:41 PM

hasclass

hasclass

$('selector').each(function() {
  if ( $(this).hasClass('foo') ) {
    // code here ...
  }
});