Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Problem with onmouseup event in IE
- John Smith
August 12, 2004, 5:16 am
rate this thread
view by selecting an item from a dropdown list. I could make it work on
Mozilla and related browsers, but I couldn't make it work on Internet
Explorer. It *seems* that on IE, when the user highlights an item on a
dropdown list and then let go of the mouse button, no onmouseup event is
Can somebody tell me what the problem was?
Thanks in advance.
Re: Problem with onmouseup event in IE
> In the code snippet below, I tried to allow the user to choose a page
> to view by selecting an item from a dropdown list.
That's a wrong approach, and using frames makes it even more wrong.
> I could make it
> work on Mozilla and related browsers, but I couldn't make it work on
> Internet Explorer. It *seems* that on IE, when the user highlights an
> item on a dropdown list and then let go of the mouse button, no
> onmouseup event is generated.
That's quite possible. Support to event attributes depends inherently on
the browser (and its settings). At one extreme, all event attributes are
ignored; at the other, more rare, extreme, all event attributes are
supported for all elements as specified in HTML specifications (and
possibly more) - though this is vaguely defined (the specifications don't
specify very exactly what triggers each event).
Out of curiosity, I created a page for testing event attributes:
And it seems that on IE 6, _no_ event attributes have any effect in
<option> elements. When you select an item from a <select> list, some
events are triggered for the <select> element, not for the <option>
P.S. You had set followups to alt.html.critique too. That was very
unfriendly - people there would see followups coming out of thin air,
without having seen the original message. Besides, the good old rule is
to post to _one_ group after selecting carefully the _right_ group.
This, together with your forged From line, suggests that you need to
study the basics of Usenet netiquette.
Yucca, http://www.cs.tut.fi/~jkorpela /
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
- » Free Web Design....Pay only hosting fees....(this is real)
- — Next thread in » HTML Authoring Forum