I'd like to disable a button which posts a form and show the text within a div tag (hide it at the start) with the text showing please wait.
Alternatively here is my code for the button so far which I would like to change the text to please wait...
Ive tried this already, but the text didnt change;
<input type='submit' name='Submit' value='Get quote now' onclick='this.disabled=true;document.form1.submit();'>
My colleague gave me this, but it doesnt work;
<input type="submit" name="Submit" value="Get quote now" onclick='this.value = "Please wait..."; this.disabled = true; this.form.submit();'>