I have an unordered list with some links. Some links have a class "A" others have a class "B". I'd like to call a jQuery function depending on which class is clicked, but I don't know how to do this.
$('.yourClass').click(function(e){
//do something here
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With