how to use onClick() or onSelect() on option tag in jsp page
<p>How to use  onClick() or onSelect() on option tag .Below is my code in which i want to use 
 Onclick() or OnSelect() in option tag.</p>

<p>Note: where  <code>listCustomer</code> domain object list getting in jsp page.</p>

<pre><code>&lt;td align="right"&gt; 
  &lt;select name="singleSelect" "&gt; 
     &lt;c:forEach var="Customer" items="${listCustomer}" &gt;
     &lt;option value="" onClick="javascript:onSelect(this);&gt; &lt;c:out value="${Customer}" /&gt;&lt;/option&gt;
                &lt;/c:forEach&gt;
          &lt;/select&gt;         
        &lt;/td&gt;   
</code></pre>

<p>Above code is not working fine please modify it.</p>
