I want to know how to fire the event of onClickany element select(html combobox element).
I tried doing $('#MySelect').click();with jQueryand tried document.getElementById('MySelect').click();using pure javascript.
But these two do not fire a drop-down list event that has selection options.
Ps: I'm sure the selector $('#MySelect')exists.
source
share