To see the text of dynamic menu items programatically

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
pservedio
Advanced
Advanced
Posts: 10
Joined: Tue Sep 19, 2006 7:44 pm

To see the text of dynamic menu items programatically

Post by pservedio »

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: Select all

    var itemCount = mm_returnMenuItemCount("Phase");
    for (i = 1; i <= itemCount; i ++ ) {
        _mi[ ] ???
    }
Also, menu items are 1 based, not 0 based, correct?
Post Reply