I have an ASP.NET dropdown list control with onclick and onchange JavaScript events.
Both work in IE, Mozilla, Opera and Chrome, but not in Safari.
Replacing the onclick event with onfocus solved the problem. I guess Safari doesn't like onclick event on select elements.
<select onclick="changeDate()">
Should be changed to
<select onchange="changeDate()">
Safari seems to react as a open even and not a close event, like in the other browsers.
For me in Chrome, onclick working with second click on select box Where as in FF & IE, its working fine for first click itself.
Sometimes you need to add preference to the JavaScript function as "javascript:"; for example:
<select onclick="changeDate()">
should be
<select onclick="javascript:changeDate()">