clickfunction is not firing

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
shrgh
Beginner
Beginner
Posts: 2
Joined: Thu May 04, 2006 8:05 am

clickfunction is not firing

Post by shrgh »

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.
Post Reply