Submit Image Changes When Data is Ready: Searchfields
<FORM
ACTION="../cgi-bin/mycgi.pl"
NAME="myform"
onSubmit="return submitcheck(this)">
<INPUT
NAME="searchstring" SIZE=10
onKeyUp="submitswap(this)"
>
<SCRIPT TYPE="text/javascript">
<!--
var swapper = new swapwhenready("search.ready.gif","search.notready.gif");
swapper.write();
//-->
</SCRIPT>
<NOSCRIPT><INPUT TYPE=SUBMIT></NOSCRIPT>
<P>
comments:<BR>
<TEXTAREA NAME="comments" ROWS=4 COLS=40 onKeyUp="submitswap(this)"></TEXTAREA>
</FORM>
<FORM
ACTION="../cgi-bin/mycgi.pl"
NAME="myform2"
onSubmit="return submitcheck(this)">
<INPUT
NAME="searchstring" SIZE=10
onKeyUp="submitswap(this)"
>
<SCRIPT TYPE="text/javascript">
<!--
var swapper = new swapWhenReady("search.ready.gif","search.notready.gif");
swapper.setfields('searchstring');
swapper.write();
//-->
</SCRIPT>
<NOSCRIPT><INPUT TYPE=SUBMIT></NOSCRIPT>
<P>
comments:<BR><TEXTAREA NAME="comments" ROWS=4 COLS=40></TEXTAREA>
</FORM>