159
rated 0 times
[
163]
[
4]
/ answers: 1 / hits: 21523
/ 15 Years ago, fri, november 20, 2009, 12:00:00
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. When I remove the onclick
event, onchange
suddenly works.
The reason I use onclick
is to get the value of the dropdown list before it changes. Is there a way I can do that without using onclick
? That is, get the value of the dropdown list before it changes/a new value is selected? I want to do this in JavaScript only.
More From » safari