Lucky Laxman

Lucky Laxman

  • NA
  • 122
  • 4.9k

How can i find Button click val in jquery

Jul 21 2015 6:35 AM
Dear All ,
 
 
      I'm stuck here finding click on button i'm getting value ,
      But there problem is when i'm click on button i'm getting val that value can check in commas
      values button selected value is there are not 
 
Example : -
 
            Var Result="1,2,3,4,5,6,7,8,9,0";
 
            my button val is : - 8
 
            i need to find 8 value in  Results variable   if its match get one alert massage .
 
             Any one knows this please help on this Thanks .
      

Answers (5)