Hi
I have a requirement like,I have to call a javascript function on onchange event of drop down box.
<tr>
<td height="20" align="center"><s:select label="Type* " id="groupType" cssStyle="width:125px" list="groupTypeMap"
name="group.groupType" onchange="javascript:enableOrDisableParentGroup();return false;" /></td>
</tr>
but here it is not calling the javascript method.
When I am directly giving alert() messages there itself it is working like:
<tr>
<td height="20" align="center"><s:select label="Type* " id="groupType" cssStyle="width:125px" list="groupTypeMap"
name="group.groupType" onchange="javascript:alert('ALERT MESSAGE');" /></td>
</tr>
Can you please tell me what is the exact way to call javascript function from
struts tags.
Thanks
Lydia