[Opensource] Greyed out values

Ian at satb ian.morris at satellite-b.co.uk
Mon Oct 27 09:23:48 PST 2003


Tino,

I don't think you will be able to do this. The HTML select tag has a
"disabled" attribute for the option tag in a select box. If you add this the
option will grey out but not all the browsers render it, Mozilla will but IE
doesn't.   IE supports it only at the select tag so the whole dropdown will
grey out.

> Hi Everyone,
>
>    I working with the ValidValues method in the DBObject. And I have
> that working great. If I wanted to have the user pull down the menu, and
> depending on his/her user status, have certain values grayed out so that
> they couldn't be selected how would I do that? TIA
>
> -Tino
>
>
> _______________________________________________
> Opensource mailing list
> Opensource at jcorporate.com
> http://mail.jcorporate.com/mailman/listinfo/opensource
> Archives: http://mail.jcorporate.com/pipermail/opensource/
>
>





More information about the Opensource mailing list