onclick event does not fire for select box in jquery mobile framework

onclick event does not fire for select box in jquery mobile framework

The onclick() event does not seem to fire for the <select> box. Here is a sample code that you can insert and test in the jquery mobile page.

<select id="listSample">
  <option>Option 1</option>
   <option>Option 2</option>
 </select>

and then perform

    $('#listSample').click(function() {
        alert('listbox click called');
    });

When you click on the listbox, the listbox elements get rendered but there is no call to the click() method. So its not possible to dynamically alter the contents of the listbox on the click of it.