Changing the Form disable colours in CSS

by "Ben Bradley UK" <bradley(at)mudmail.co.uk>

 Date:  Tue, 12 Sep 2000 16:46:38 +0100
 To:  "HWG" <hwg-basics(at)hwg.org>
  todo: View Thread, Original
I've found a way to disable a form input if a certain checkbox is checked
using JavaScript, but is there anyway to change the colours that are used
when it is disabled?
Or alternatively, being able to set a form input to disabled and change the
class in the style sheet that it uses.

----
So basically;
If 'forminput1' is checked then use class 'newclass' and disable
else use class 'oldclass'
I'm sure you won't find this in any programming language script
specifications :-)
----

There probably is a way to do it but I'm not good enough a JavaScript to be
able to figure it out yet.

Thanks in advance.

Ben Bradley UK
Creative Director
http://www.thenetzone.co.uk

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA