How can I check the clicked element has also class x?
36511
Determine if an element has a CSS class with jQuery
25223
How to add click event to an element?
112921
Check if option is selected with jQuery, if not select a default
34607
How do I check if the mouse is over an element in jQuery?
132096
How do you check if a JavaScript Object is a DOM Object?
150842
Getting the index of a current element across all matched elements in the DOM
135016
How to get the this of a object in a handler for a click event in jquery?
105585
if checkbox checked add class to parent element
115316
How to check whether a Button is clicked by using JavaScript
139213
Reliable way to get the "ancestor" of an object with a specific classname, using jQuery
47916
Get class list for element with jQuery
101425
How to Get Element By Class in JavaScript?
138023
Remove/add class on click of a button
47535
Toggling only a single class as active in a list with vanilla JS or CSS
150418
jquery does div contain children of a certain class
118775
how to get class/id from ui & event
61080
How can I add a class to a DOM element in JavaScript?