title: How to get li tag value by javascript or jquery
body: <p>I need to get li value onclick function in php ...and want to store that in php session..
   i used my code for this but this is not working....
   i need to know that how to get li value on click function in java script..
   i NEED to get li tag value of on click function and want to store in php session by js or jquery</p>
  
  <pre><code>&lt;li class="atleta" value="100" &gt;
              &lt;a href="#"  &gt;Vendor Registration&lt;/a&gt;
  &lt;/li&gt;
  
  $('.atleta').click(function(e) {
  
  
              var &lt;?php  $_SESSION['VENDR']?&gt;  = $(this));
  
  });
  </code></pre>