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

finding or setting a menu item's id

Poster: kcraft
Dated: Wednesday September 19 2007 - 19:57:34 BST

I need to retrieve the id of a menu item in order to read some information about it (such as its position). I tried setting the "id" property like this:

aI("id=test;text=blah blah;");

...then I executed this code:

var el = document.getElementById("test");

The result was "null", so this method doesn't seem to work.

How can I set or get a menu item's id?

Re: finding or setting a menu item's id

Poster: luisraposo
Dated: Sunday September 23 2007 - 15:53:14 BST


integer getMenuByName ( string Menu_Name )