I have a button as follows in my html
<button class="btn btn-inverse" type="submit">Login</button>
So the CSS class name is “btn btn-inverse”. How can I perform JQuery click operation with css class ?
This doesn’t works for me
$('.btn btn-inverse').click(function(){
alert("Called");
});
Any Help would be appreciatable.
Thanks in advance
It would work this way:
jsFiddle