470,638 Members | 1,579 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,638 developers. It's quick & easy.

onClick event on a multiple select[]

Hi ng,

in a <SELECT .. multiple="yes"> I call a function associated to the onClick
event... this function contains a "for" that watch what elements are
selected, and on Mozilla that works fine.
Unfortunatly, Internet Explorer doesn't think so :)
it seems each time I click on the select it have a one-click-delay... I
think that IE runs the function *before* changing the select value...

Suggests?

--
*DkS
Jul 23 '05 #1
1 4306
DU
DarkkSide wrote:
Hi ng,

in a <SELECT .. multiple="yes">
I guess you meant <select ... multiple> because multiple="yes" is not
valid markup code.

I call a function associated to the onClick event... this function contains a "for" that watch what elements are
selected, and on Mozilla that works fine.
Unfortunatly, Internet Explorer doesn't think so :)
I think it would have been useful and helpful to post an url of that
page of yours.
it seems each time I click on the select it have a one-click-delay... I
think that IE runs the function *before* changing the select value...
Maybe it's because you need an attribute event that is triggered on a
change of the selected values instead of being triggered on a mouse
click,... just like the onchange event.

DU

Suggests?

--
*DkS

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

17 posts views Thread by dan_williams | last post: by
3 posts views Thread by Michael_R_Banks | last post: by
6 posts views Thread by Nathan Sokalski | last post: by
2 posts views Thread by DavidGeorge | last post: by
???
1 post views Thread by Stoney L | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.