troubleshooting Question

get value from form input.value and change color in td cell upon change of input.value

Avatar of Johnny
JohnnyFlag for United States of America asked on
13 Comments1 Solution1386 ViewsLast Modified:
i want to change the bg color of a td in a table this color is the input.value

if theres no value in the input.value id like it to default to white(what it is now)

                  <td bgcolor="#ffffff" valign="top" nowrap><font face="tahoma, verdana" size="2">Select color from Windows system palette:</font></td>
                  <td bgcolor="#ffffff" valign="top">
                  <input type="Text" name="input1">
                  <a href="javascript:TCP.popup(document.forms['tcp_test'].elements['input1'], 1)"><img width="15" height="13" border="0" alt="Click Here to Pick up the color" src="images/sel.gif"></a>
                  <td bgcolor="#ffffff" valign="top">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
the button td with all the spaces in it si the one i weant to change from the selction in the rows input.value
 thank you in advance for any code and help you may provide
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 13 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 13 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros