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:51
To see the text of dynamic menu items programatically
Poster: pservedio
Dated: Thursday October 19 2006 - 0:50:18 BST
I create several dynamic menus in a particular web page, and I would like to view the contents of the items in the menu programatically - basically I would like to verify the text label of each menu item.
So, how do I use _mi[ ] to view the menu item text, or is there another way?
Code:
var itemCount = mm_returnMenuItemCount("Phase");
for (i = 1; i <= itemCount; i ++ ) {
_mi[ ] ???
}
for (i = 1; i <= itemCount; i ++ ) {
_mi[ ] ???
}
Also, menu items are 1 based, not 0 based, correct?