Script Categories

Forms >>> Submit Changer.

Changes the caption of the form's submit button while the form is being submitted. This helps eliminate the confusion that can sometimes occur when a form takes quite a while to be processed by the server.


Add the below code to the <body> section of your page:

<script language="javascript" type="text/javascript">
/* Visit for full source code
and get more free JavaScript, CSS and DHTML scripts! */
<!-- Begin
function submitForm(s)  {
s.value = "  Sending...  ";
return true;
//  End -->
<form name=myform onSubmit="return submitForm(this.submitbutton)">
Name:  <input type=text name=firstname size=20>
type=submit name=submitbutton value="All Done">

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.

Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).