No I mean you should have a type = button and onclick="Validate();"
and the last 3 lines of the validatrion function should be document.myForm.myButton.value='please wait'; document.myForm.myButton.disabled='true'; document.myForm.submit(); that way the form will submit if all validates correctly Some browsers (I cant remember which but I think IE5.0) will not submit if the submit button is disabled this solution takes the submitting away from the built in Submit() method of the type = submit and lets JS handle it seems a bit easier to control that way *shrug* I like it ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 4:06 PM Subject: Re: [ cf-dev ] OT : Please wait button > > some browsers... like which ones? > > are you meaning have the button as type=button then change it to > type=submit after the javascript validation? > > > Duncan Cumming > IT Manager > > http://www.alienationdesign.co.uk > mailto:[EMAIL PROTECTED] > Tel: 0141 575 9700 > Fax: 0141 575 9600 > > Creative solutions in a technical world > > ---------------------------------------------------------------------- > Get your domain names online from: > http://www.alienationdomains.co.uk > Reseller options available! > ---------------------------------------------------------------------- > ---------------------------------------------------------------------- > > > > "Matt Horn" > <[EMAIL PROTECTED] To: <[EMAIL PROTECTED]> > rn.org> cc: > Subject: Re: [ cf-dev ] OT : Please wait button > 21/10/2003 > 14:49 > Please > respond to > dev > > > > > > yeah it should > but some browsers will disable the button before it submits and then does > not submit the form > > type = Button and submit after a validation script > > put that code in the validation function if everything checks out ok > > > > > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, October 21, 2003 3:47 PM > Subject: RE: [ cf-dev ] OT : Please wait button > > > > > > actually I like Matt's version more. it should also work on <input type > > ="submit"> I think. > > > > > > Duncan Cumming > > IT Manager > > > > http://www.alienationdesign.co.uk > > mailto:[EMAIL PROTECTED] > > Tel: 0141 575 9700 > > Fax: 0141 575 9600 > > > > Creative solutions in a technical world > > > > ---------------------------------------------------------------------- > > Get your domain names online from: > > http://www.alienationdomains.co.uk > > Reseller options available! > > ---------------------------------------------------------------------- > > ---------------------------------------------------------------------- > > > > > > > > "Robertson-Ravo, Neil (RX)" > > <[EMAIL PROTECTED] To: > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > dexpo.com> cc: > > Subject: RE: > [ cf-dev ] OT : Please wait button > > 21/10/2003 14:31 > > Please respond to dev > > > > > > > > > > > > > yep...thanks guys...either way should work for me.... nice one. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] > > Sent: 21 October 2003 14:30 > > To: [EMAIL PROTECTED] > > Subject: Re: [ cf-dev ] OT : Please wait button > > > > > > > > something like: > > > > <input type="button" name="click" onClick="document.click.src > > ='pleasewait.gif'" href="clickme.gif"> > > > > ? > > > > Duncan Cumming > > IT Manager > > > > http://www.alienationdesign.co.uk > > mailto:[EMAIL PROTECTED] > > Tel: 0141 575 9700 > > Fax: 0141 575 9600 > > > > Creative solutions in a technical world > > > > ---------------------------------------------------------------------- > > Get your domain names online from: > > http://www.alienationdomains.co.uk > > Reseller options available! > > ---------------------------------------------------------------------- > > ---------------------------------------------------------------------- > > > > > > > > > > "Robertson-Ravo, Neil (RX)" > > > > <[EMAIL PROTECTED] To: > > "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > > dexpo.com> cc: > > > > Subject: [ > > cf-dev ] OT : Please wait button > > 21/10/2003 14:20 > > > > Please respond to dev > > > > > > > > > > > > > > > > > > Whats the best way to do a "Please Wait...." style button on the > submitting > > page so the user does not try to click submit again? > > > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > For human help, e-mail: [EMAIL PROTECTED] > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > -- > ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ > > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > For human help, e-mail: [EMAIL PROTECTED] > -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
