1 2 3 4 5 6 7 8
$(document).ready(function() { $('#myform').submit(function() { $('#message').text('Form submited'); return false; }); });