Simple IE8 alert not working?
Putting a handler onclick
on an element <option>
seems ... strange to me. You might want to switch this to a more common event onchange
for <select>
. You can still do whatever you want, and this is the "accepted" way of doing what you want to do to choose. When doing this, you can try to remove the part javascript:
. This is only needed if you are executing Javascript in a link href
eg. The handler onclick
expects javascript.
a source to share
All versions of IE (6,7,8) do not support ANY event handlers on option elements.
This is a (rather) well known bug that the IE team pointed out that they are in no rush to fix. :-(
Then again Opera, Safari and Chrome have limited or no support for event handlers in parameters.
Lack of events in parameters: error 280
(related) Missing styles in preferences: error 281
It should be noted that "Edge" (think IE12 on Windows 10) currently shows that this issue has been fixed in preview versions.
a source to share