weird, how about href="javascript:submit(); return(false);"

> -----Original Message-----
> From: Jaakko Rytinki [mailto:[EMAIL PROTECTED]
> Sent: Friday, April 23, 2004 8:19 AM
> To: 'Struts Users Mailing List'
> Subject: RE: problems with onclick=submit()
> 
> 
> Yup, javascript:void(0)" somehow prevents the whole form from
> being submitted. ( the link doesn't do anything at all )
> 
> -----Original Message-----
> From: Jarnot Voytek Contr AU/SC [mailto:[EMAIL PROTECTED] 
> Sent: 23. huhtikuuta 2004 16:06
> To: 'Struts Users Mailing List'
> Subject: RE: problems with onclick=submit()
> 
> have you tried href="javascript:void(0)"?  this is an html issue - not
> struts.
> 
> --
> Voytek Jarnot
> Quantum materiae materietur marmota monax si marmota monax materiam
> possit
> materiari?
> 
> 
> > -----Original Message-----
> > From: Jaakko Rytinki [mailto:[EMAIL PROTECTED]
> > Sent: Friday, April 23, 2004 8:01 AM
> > To: Struts Users Mailing List
> > Subject: problems with onclick=submit()
> > 
> > 
> > Anyone else had problems with <a href="#" onclick="submit()"?
> > Im using tiles and the problem is that when I click a link to submit
> > a form, the link throws me to /myApp/layouts/myLayout.jsp# if I use
> > <a href="#, plain <a href="" throws me to /myapp/layouts 
> > 
> > --> Error page 500, because such paths are not visible and/or usable
> > for normal user
> > 
> > 
> > 
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to