Access the Object that was clicked?
Hello everybody,
i have function appended to a click event of more than one objects. How can i check if the object that was clicked has a certain class xy?
- var t = jQuery(this);
- jQuery(t.children()).click(function(e) {
- if (??check if the element that was clicked has class xy??){}
- }