[Javascript] Replace submit button upon click...

Chris Nafziger CNafziger at sauder.com
Fri Mar 14 14:16:11 CST 2003


In a controlled environment (IE 5+), is it possible have a function, that
can be included in any page, that replaces a submit button with the contents
of a string, and submits the form, when the button is clicked, without
having to specify the onClick event for submit buttons throughout the site.
I'm looking for a little function to put in an ASP include that is included
on each page of the site, which will effectively make the text "Pending..."
appear, each time a submit button is clicked, with no work involved other
than creating the function, and putting it in the include.  Obviously, the
forms must still submit properly.  You DOM gurus out there... can you point
me in the right direction please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030314/e6c4eff7/attachment.htm>


More information about the Javascript mailing list