[jQuery] listmenu
[jQuery] listmenu
hi all,
i'm trying to implement the listmenu in my website.
I'm able to populate the listmenu with items from my database.
Now my question is how to i get the text when a link is clicked.
for example,
in the letter C there are 2 things for example Coffee and Cafe.
how do i get the value Coffee when i click Coffee or Cafe when i click
Cafe?
if i do:
var text = $('.lm-selected').text();
alert(text);
and i click on the word Coffee or Cafe all i get is "C"
i get the letter C.
thanks in advance.
Robin30