disable a dropdown box..?

admin

Administrator
Staff member
I have a dropdown box and i want to disable it, but i still want it to be visible on the form.. <br />
i tried putting disable="true" .. but it doesn't work..<br />
<br />
my code looks as follows:<br />
<SELECT id=select1 name=select1 disable="true"><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
</SELECT><br />
<br />
How do i do it..<br />
Thank you in advance..<!--content--><SELECT id="select1" name="select1" disable><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
</SELECT><br />
<br />
That should work. Just note that disable may not work in older browsers.<!--content-->I tried,<br />
<br />
<SELECT id=select1 name=select1 disable><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
<OPTION>january</OPTION><br />
</SELECT><br />
<br />
doesn't work.. <br />
<br />
My browser version is <br />
MICROSOFT IE 6.0.2800.... <br />
<br />
Any other suggestions?<!--content-->It should be disabled="true" like this:<br />
<SELECT id=select1 name=select1 disabled="true"> <br />
<br />
Now that you have done that are you ever going to want to enable it?<!--content-->Thank you! Requestcode..<br />
<br />
Yes, in the future for some reports, i might have to enable it.. why do you ask?<!--content-->
 
Back
Top