Using jQuery, this is how you attach a click event to an element with id ‘confirm_btn’:
1 2 3 |
$('#confirm_btn').click(function(event){ }); |
Using jQuery, this is how you attach a click event to an element with id ‘confirm_btn’:
1 2 3 |
$('#confirm_btn').click(function(event){ }); |