Answers for "how to check if the div clicked has class jquery"

CSS
6

detect if an element has a class jQurey

$("#EL_ID").hasClass("CLASS_NAME");
Posted by: Guest on May-14-2020
0

jquery if class clicked

$('.yourClass').click(function(e){
    //do something here
});
Posted by: Guest on December-20-2020

Code answers related to "how to check if the div clicked has class jquery"

Browse Popular Code Answers by Language