I want to do some data validations before updating a file on the AS400.  I have

<form name="Joboff" METHOD="POST" action="update" onSubmit="return ErrorCheck

     <INPUT TYPE="SUBMIT" VALUE="OK" style="font size:20PX">
     <a href="javascript:document.forms[0].submit()">
     <img border=0 width=50 height=50 src="../../../../../images/ok.gif"></a>

The button SUBMIT works great to activate the form and do everything else.  I
want to replace the "button" image with an "OK" image that I have and that is
why I have the javascript there.  The image is called OK.GIF.  My problem is
that is not doing what I want to accomplish.

What I am missing?

Peter Vidal
Pall Aeropower Corp.
SR Programmer Analyst
WWW.Pall.com / 727-539-8448, x2414

"A good player makes himself look good; a great player makes the team look
Author unknown

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.