JS Made Easy.com  
Search This Site:
Script Categories >> Forms >> blur select

blur select

dont you hate it when you made a choise from a select-box, want to go on, roll your maousewheel and involuntarely change the select-box. I made a simple .htc that you can refer to in yous stylesheets, so that your selectbox loses focus upon change. example: ---put this in a file called select.htc--- <SCRIPT LANGUAGE="JavaScript"> attachEvent("onchange",wegfocus); function wegfocus() { window.focus(); } </SCRIPT> ---put this in header--- <style> select {behavior: url(select.htc)} </style> ---now if you have a selectbox like this:-- <select name=fiets> <option>kinder</option> <option>opa</option> <option>oma</option> <option>race</option> </select> --end--- it all works

Rating 3 stars of 5 (3 stars of 5; 6 votes)     |    
 
Compatibility Internet Explorer
Price Free
Visits 320   ( ~ 0.04/day)
Date Added 5/4/2004
Web Site URL http://www.leeuwwitje.nl/select/