how to check which class is clicked in jquery code example Example: jquery if class clicked $('.yourClass').click(function(e){ //do something here });