my button doesn't work when I click on it nothing happens. This is my HTMl for it:
<button id="testbutton" name="testbutton" value="abgesendet2" type="button">test</button>
and this is my jQuery for it (the button is in a form):
<script>
jQuery('document').ready(function(){
$("#myform").on('click', '#testbutton', function(){
alert("test");
});
});
</script>
Aucun commentaire:
Enregistrer un commentaire