I am using Milonic DHTML Menu Version 5.51. I am using it like this:
<logic:iterate id="emp" name="employees" type="EmployeesBean">
aI("showmenu=emp<jsp:getProperty name="emp" property="id" />; text=<jsp:getProperty name="emp" property="title" /> ;
url=/app/emp?emp-id=<jsp:getProperty name="emp" property="id" />; clickfunction=callprog(); target=content");
</logic:iterate>
And the function is:
<script type="text/javascript">
callprog(){
alert("in call prog");
}
</script>
This is simply not firing. Is it because this menuitem has a further submenu? Pls help.