I need to be able to submit a form only when a button is clicked. Also I need to disable the button once the form is submitted.
I was thinking of adding an id to the button and adding an on click function. Am I on the right track? Still not sure how to disable the button after it is actually clicked.
$('#myButton').click(function() {
});