Ultragames
05-03-2008, 07:57 PM
I want to make an option in a select menu blink a few times when you select it. My first issue, is doing any action on click/focus of a select option, (the option tag)
I tried using onclick, but this does not work in IE. (Does work in Firefox.) Then i tried onfocus, and this does not work in either. So my first question is this, how do I get an action to run when the option is selected? (By the way, onchange does not run until the select loses focus.)
My second question, though it does not need to be answered here, is how can I make the option blink? Either changing the background color a few times, or focus and defocusing the option both work, I just need it to two or three times.
Thank you.
I tried using onclick, but this does not work in IE. (Does work in Firefox.) Then i tried onfocus, and this does not work in either. So my first question is this, how do I get an action to run when the option is selected? (By the way, onchange does not run until the select loses focus.)
My second question, though it does not need to be answered here, is how can I make the option blink? Either changing the background color a few times, or focus and defocusing the option both work, I just need it to two or three times.
Thank you.