Showing posts with label Check class exist in jquery. Show all posts
Showing posts with label Check class exist in jquery. 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

}