Hi,
  I have problem in submiting my form through javascript by onclick event, 
it say that this property cant be supported. The form gets submitted by 
<html:submit> button, no prob. Any idea how to proceed but through 
javascript only.
 My code:
<script language="javascript">
function delete(){
if(condition){
checking some validations
} 
document.delForm.submit(); // from here i want to submit the form
}
</script>
<html:form name="delForm" action="/DeleteForm">
 --------
--------
-------
<html:button value="Delete" onclick="Javascript:delete();">
<!-- <html:submit value="Delete"/> -->
</html:form>
 Thanks in advance
 Regards
Khan
 <user@struts.apache.org>

Reply via email to