Button Click in jQuery
You are missing the #
from your id
selector. Try this:
$(document).ready(function(){
$('#submit1').click(function(){
alert("JQuery Running!");
});
});
Answer already posted by @Rory, but you can also try this
$(document).ready(function(){
$('#submit1').on('click',function(){
alert("JQuery Running!");
});
});