struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour <mansou...@yahoo.com>
Subject Re: submitting a form using java script on IE
Date Mon, 21 May 2007 18:42:17 GMT
It's working now.
It's my fault. The onclick function needs a return value:


<s:form action="getAccountById" method="post"
               name="frm${row.id}" id="frm${row.id}"  >
           <s:a onclick="this.parentNode.submit();return false;"  
href="javascript://">
               <c:out value="${row.firstName}" />
               <c:out value="${row.lastName}" />
           </s:a>
           <s:hidden name="acc.id" value="${row.id}" />
          
       </s:form>



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message