Showing posts with label jQuery Check if class Exist inside a Div. Show all posts
Showing posts with label jQuery Check if class Exist inside a Div. Show all posts

Friday, 21 November 2014

How to check class exist in jquery


How to check class exist in jquery

if (jQuery("#filterform" ).hasClass( "yourclass" )) {
 
    // your statement

}else{

// your statement

}