Tuesday, October 30, 2012

Return valkue on clicked item

Hello readers,

If  you want to verify particular clicked item you should try this.

I am working on it and i need to select particular menu item ,here is my code;


 function getval(sender, args) {
                     var itemText = item.get_value();
                                    
           }

i assigned value =1,2,3 for each menu items
then i compare those values with cliked items.

  var itemText = item.get_value(); will return current value on click item.


I hope this will help you..

Cheers :)

No comments:

Post a Comment