I do refers to this fiddle and this post but this doesn't solve my problems. I'm well informed since I used CSP, onclick attribute is not working, thus I use jQuery .on('click') to get this done but still no satisfied results. Here is the structure of my code(will include only codes related to this issues):-
html
<td><input value="Resend" class="btn btn-primary btn-xs" id="resend_sms" name="resend_sms" type="button"></td>
script
$(function(){
$('#resend_sms').on('click', function(e){
console.log('clicked');
});
});
Above is the codes related. For your notice, this part of html is generated by server-side script. Again, I re-test the this guy but still no results upon clicked.