PDA

View Full Version : greying out text fields?



imported_dinkumrocks
April 30th, 2005, 05:27 PM
I was just wondering if theres a way to grey out text fields when a radio button in checked.

i dont know if you get the pooint of the "greying out" so heres more detail.

the text field turns void, and you cant write in it. I think thats possible with javascript, or something.

any ideas?
-Naaman

Lindquist
April 30th, 2005, 06:21 PM
width=200 height=200
Here's the general logic behind it.

-L

H4T
April 30th, 2005, 07:22 PM
This is in the Client Side forum, he wasn't looking for Flash, I don't think.

Via HTML:
http://www.javascriptkit.com/javatutors/deform2.shtml

Via JS:
http://www.codetoad.com/javascript/enable_disable_form_element.asp

Good luck ^_^

imported_dinkumrocks
April 30th, 2005, 08:57 PM
thanks!

tahts exactly what i was looking for.


-Naaman