I can't because I have 3 actions on that page (insert, add, delete).  I need
to be able to change the action.

thanks.

-----Original Message-----
From: Amjad Ashkar [mailto:[EMAIL PROTECTED]]
Sent: Saturday, December 08, 2001 12:45 PM
To: Struts Users Mailing List
Subject: RE: strut help


Why don't you just use the <input type="image"
src="whatever.gif"> and set the form action=/logon.do

good luck,
--- "Strichartz, Beth" <[EMAIL PROTECTED]>
wrote:
> 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]>
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

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

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

Reply via email to