Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - Textarea Background color change
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedTextarea Background color change

 Post Reply Post Reply
Author
dwhite01 View Drop Down
Groupie
Groupie


Joined: 31 May 2002
Location: Australia
Status: Offline
Points: 83
Direct Link To This Post Topic: Textarea Background color change
    Posted: 16 January 2004 at 6:23am

How do I change the background color of a form textarea on selecting a certain radio button?

Thanks in advance.

Back to Top
pmormr View Drop Down
Senior Member
Senior Member


Joined: 06 January 2003
Location: United States
Status: Offline
Points: 1479
Direct Link To This Post Posted: 18 January 2004 at 3:47pm
you should be able to do it with JavaScript... do a google search
Back to Top
Hero Doug View Drop Down
Newbie
Newbie


Joined: 23 January 2004
Status: Offline
Points: 1
Direct Link To This Post Posted: 23 January 2004 at 12:54am
Use CSS, it'll be easier.

You can use it for any text areas, radio buttons, text boxes, check boxes and submit buttons.

Here is a button I use for my site.

<input type='submit' value='Click to complete order' style='background-color: #638177; color: #ffffff;' />



Edited by Hero Doug
Back to Top
dwhite01 View Drop Down
Groupie
Groupie


Joined: 31 May 2002
Location: Australia
Status: Offline
Points: 83
Direct Link To This Post Posted: 23 January 2004 at 5:57am

Thanks for your suggestions guys. I found a solution that uses a combination of JavaScript & CSS.

Cheers.



Edited by dwhite01
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.