I have a multiple selection SELECT field which I don’t want the end user to be able to change the value of.
For UI reasons, I would like to be able to do this without using the disabled=’true’ attribute. I’ve tried using onmousedown, onfocus, onclick and setting each to blur or return false but with no success.
Can this be done or am I trying to do the impossible?
I know you mentioned that you don’t want to, but I actually think that using the
disabledattribute is a better solution:If necessary, you can always give the
selectaclassand style it with CSS. This solution will work in all browsers regardless of scripting capabilities.