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:03

Using javascript onclick function when menu item clicked


Poster: jekkara
Dated: Friday October 17 2003 - 20:32:33 BST

Has anyone included a form submission onclick of a menu item?

Any help on this matter is appreciated.

Thanks,
Jessica


Poster: Hergio
Dated: Friday October 17 2003 - 21:11:59 BST

to catch an onclick event, in the url of a menu item you use the javascript: flag, much like how you get a <a> tag to execute javascript.
i.e....

aI("text=Menu Item;url=javascript:checkItems();;");


Is that what you were looking for ?


Poster: jekkara
Dated: Friday October 17 2003 - 21:51:41 BST

That did it. Thank you.