Home Tutorialhelp Comment alert is not working with Struts2

 
 

Comment

Prakash raja
alert is not working with Struts2,
June 25, 2008 at 5:47 PM

Here my code is there,
<head>
<script type="text/javascript">
function call()
{
alert('confirm');
}
</script>
</head>
Form:
======
<s:form enctype="multipart/form-data" method="post">
<s:submit name="cancel" value="Cancel" action="strategyCycle" theme="simple" cssClass="groovybutton" onclick="call()" />
</s:form>

whenever i click the submit button it is not calling the corresponding Script function name as call().

I am looking for quick reply.
View All Comments
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com