Replace HTML Hyperlink Text on Javacscrpt Form Submit Button

CalA

New Member
I have a HTML button to submit a form with form validation using javascript -\[code\]<p class="textstyle1"><a href="javascript:document.contact.submit();"><span onClick="MM_validateForm('Name','','R','Email','','RisEmail','Message','','R');return document.MM_returnValue">Send</span></a></p>\[/code\]When the form is submitted, I want the button text to change from "Send" to "Please Wait..." while the php code runs which emails the user and inserts the form data into a MySQL database.I've done a lot of research and found code to change the text for an actual Submit button but I would like help with code to change the HTML hyperlink text instead.
 
Back
Top