I have this html data:
<select class="select">
<option>a</option>
<option>b</option>
<option>c</option>
</select>
How do I bind an event only when I click the select
element shown in the page, not when the option
elements are clicked. I don't want to bind event on the items that are in the dropdown.
Update: I did found this one post. But it does not work for my case.