Could you post your entire jsp code to have a better look? JM
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 02, 2002 8:51 PM > To: Struts Users Mailing List > Subject: I'm stuck on the html:submit > > > > I know with the html:form you have the "onSubmit()" javascript handler in > which the following will work: > > <script language="JavaScript"> > function unlinkConfirmation() { > if (confirm("Remove employee link?")) > return true; > else > return false; > } > </script> > > <html:form onSubmit="return unlinkConfirmation()" ... > > > But when using the plain ol' html:submit, I cannot seem to get a return > of "true" from the unlinkConfirmation() to cause the form to be submitted. > > I have: > <td ID="small"><html:submit property="unlinkEmployee" onmouseup > ="return unlinkConfirmation()">Link</html:submit></td> > > My form never gets submitted regardless as to whether or not I answer Yes > or No on the confirm message. > > Can someone help tell me what I am doing wrong? > > thanks, > Theron > > > -- > 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]>

