what is the return false about?
try removing that
<a href="" onClick="send('logon.do'); return false"> <img
scr="image.gif"></a>

-----Original Message-----
From: Kiet Nguyen [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 2:42 PM
To: '[EMAIL PROTECTED]'; Struts-User (E-mail)
Subject: strut help


Please help.  I'm in a dead-end.

I need to write the submit button with an image and a pop-up dialog and it
will work under
netscape 4.7 & IE & net6 when the browser is set "never check for new
version for page" as the caching technique.  I use javascript to submit the
form, but when caching is set, the form doesn't get submit.

Javascript:
function send(msgAction)
{       document.forms[0].action = msgAction;
        document.forms[0].submit();
}

<a href="" onClick="send('logon.do'); return false"> <img
scr="image.gif"></a>






--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to