<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
--></style><title>re: WEIGHT-10 Re: [Javascript] disabled
menus</title></head><body>
<div>Thanks for this suggestion. I'll try something like that.</div>
<div><br></div>
<div>Can I ask that you do not include a mailto link with my email
address in your response? I'm afraid that if these archives are posted
then my email address will be susceptible to spam.</div>
<div><br></div>
<div>Chuck</div>
<div><br></div>
<div>At 11:51 AM -0700 3/1/05, Peter Brunone wrote:</div>
<blockquote type="cite" cite><font face="Arial"
size="-1"> If you can't disable an option (it's
possible that I could be wrong once this year), you might consider
getting creative with the JS if you don't want to eliminate that
option completely. For example, you could color the text or
background differently, and then hook up the onchange event handler to
a function. The function can check to see if the list is on a
"forbidden" option, and then either (a) clear the selection
or (b) re-select the previously-selected value.<br>
<br>
FWIW...<br>
<br>
Peter</font><br>
<font face="Arial" size="-1"></font></blockquote>
<blockquote type="cite" cite><font size="-1"><b>From</b>: Chuck
Soper</font></blockquote>
<blockquote type="cite" cite><br>
Thanks. I tried that and it didn't work either. I will take a
totally<br>
different approach. That is, I'll accept that it's not possible to<br>
"disable individual options in a select element" as Peter
Brunone<br>
suggested.<br>
Thanks for everyone's help.</blockquote>
<blockquote type="cite" cite>Chuck</blockquote>
</body>
</html>