title: how to check li click events to code behind using asp.net
body: <p>I have list li,I want to know which option in clicked to code behind.How can i possible</p>
  
  <pre><code>&lt;ul class="mega-select__sort"&gt;
   &lt;li class="filter-wrap"&gt;&lt;a href="#" id="loc" class="mega-select__filter filter--active" runat="server" data-filter='location'&gt;Location&lt;/a&gt;&lt;/li&gt;
   &lt;li class="filter-wrap"&gt;&lt;a href="#" id="cine" class="mega-select__filter" runat="server" data-filter='cinema'&gt;Cinema&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>there are two options one is location and another one is cinema.I want to know which option was clicked to code behind..</p>