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");
alert(el);
The result was "null", so ...
Search found 1 match
- Wed Sep 19, 2007 7:57 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: finding or setting a menu item's id
- Replies: 1
- Views: 1902