You should first submit your form and then change the value of your submit:
onClick="this.form.submit(); this.disabled=true; this.value="Sending…"; "
More Related Contents:
- What is wrong with this basic Javascript code? [closed]
- jQuery Mobile: document ready vs. page events
- How can I get the data-id attribute?
- jQuery Mobile: Markup Enhancement of dynamically added content
- Submit multiple forms with one submit button
- How to load all the images from one of my folder into my web page, using Jquery/Javascript
- How to submit an HTML form without redirection
- Is there a DOM event that fires when an HTML select element is closed?
- How do I remove tinyMCE and then re-add it?
- How to read xml file contents in jQuery and display in html elements?
- jQuery click anywhere in the page except on 1 div
- How to ONLY trigger parent click event when a child is clicked
- How can I detect when a new element has been added to the document in jquery?
- Choosing Mobile Web HTML5 Framework [closed]
- JavaScript Loading Screen while page loads
- How to read line by line of a text area HTML tag
- jQuery: trigger a hover event from another element
- How send a form with Javascript when input name is “submit”?
- Attach a blob to an input of type file in a form
- Trigger a button click inside an iframe [duplicate]
- Remove scrollbar but not scrolling functionality [duplicate]
- Combine two selectors with one jQuery object
- Pausing CSS animation with javascript and also jumping to a specific place in the animation
- fade effect using javascript no jquery?
- Wrapping lists into columns
- Close a SELECT dropdown list programmatically with Javascript/jQuery
- refresh div with jquery
- Jquery change text between two elements
- Remove everything within script and style tags
- Possible to reverse a css animation on class removal?