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: Thursday February 8 2018 - 06:02:22

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.