I have button and a select box. i want to open the dropdown by click on the button.
<button id="showDropdown"></button>
<select id="selectME">
  <option>Select</option>
  <option value="1">1</option>
  <option value="2">2</option>
  <option value="3">3</option>
</select>
I have tried this js script:
$("#showDropdown").click(function(){
  $("#selectME").click(); 
});
This is not working for me. Please help.
 
    