Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:06

clickfunction is not firing


Poster: shrgh
Dated: Thursday May 4 2006 - 11:02:57 BST

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.