<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Replace submit button upon click...</TITLE>
</HEAD>
<BODY>

<P ALIGN=LEFT><FONT COLOR="#800000" SIZE=2 FACE="Arial">In a controlled</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">environment</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial"> (IE 5+), is it possible have a function</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">, that can be included in any page,</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">that replaces a submit button</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial"> with the contents of a string, and submits the form, w</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">hen the button is clicked, without having to specify the onClick event for submit buttons throughout the site.</FONT>&nbsp;<FONT COLOR="#800000" SIZE=2 FACE="Arial"> I</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">'</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">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</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">"</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">Pending</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">..."</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial"> appear, each time a submit button</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">is clicked</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">, with no work</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">involved</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">other than creating the function, and putting it in the include.</FONT>&nbsp;<FONT COLOR="#800000" SIZE=2 FACE="Arial"> Obviously, the forms must still submit properly.&nbsp; You DOM gurus out there</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">...</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial"></FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">can you</FONT> <FONT COLOR="#800000" SIZE=2 FACE="Arial">point me in the right direction please</FONT><FONT COLOR="#800000" SIZE=2 FACE="Arial">?</FONT></P>

</BODY>
</HTML>