Jack,
haven't done this myself, but, since it's version 4 browsers, you should
be able to write a onClick function to disable the input object when
user click the "OK" button,
document.form[i].elements[i].disabled = true;
or
document.formname.elementname.disabled = true;
however, according to the O'Reilly book, NN doesn't support it. :(
may want to give it a try anyway...
cindy
>
> I'm thinking that I can use javascript to reduce the likelihood of this
> happening. My users will almost all (99%?) be using version 4 browsers, but
> they could be using either NS or IE. I'm thinking that I can have a
> javascript "confirm" come up when they click the submit button, asking them
> "are you sure", then when they click it the form will actually be submitted.
> Ok so far, but when they click OK in the javascript confirm box, the form
> data gets posted to the server, but the current page sits there until the
> action is completed on the server and the server sends back the results
> page. This means that the submit button is still sitting on the user's
> screen, which means that they *could* click it again, despite the WARNING I
> put in red right next to the button.
>
> Is there a way, with javascript, to maybe disable the submit button after it
> has been clicked? Or should I just try to arrange my backend Cold Fusion
> scripting so that it sends back something to replace the contents of the
> browser window *before* the big process on the server is done?
>
> Ideas?
>
> TIA,
> Jack
>
Cindy Sergent [EMAIL PROTECTED]
614-860-2700 http://www-nds.cb.lucent.com/~ccs/
614-860-7897 (FAX)
____________________________________________________________________
--------------------------------------------------------------------
Join The NEW Web Consultants Association FORUMS and CHAT:
Register Today at: http://just4u.com/forums/
Web Consultants Web Site : http://just4u.com/webconsultants
Give the Gift of Life This Year...
Just4U Stop Smoking Support forum - helping smokers for
over three years-tell a friend: http://just4u.com/forums/
To get 500 Banner Ads for FREE
go to http://www.linkbuddies.com/start.go?id=111261
---------------------------------------------------------------------