Hey right now I got my <div> displaying a background color.. I have a drop down list of color codes, and when going down the list I want the background color of the <div> tag to change so they can preview it.
This is the current code I have:
<select name="backgroundColor" onChange="document.backgroundColor.style = \"background-color: 000000\";">
......
<div id="backgroundColor" style="width: 20px; height: 20px; background-color:#003366; layer-background-color:#003366; visibility: visible"></div>
So how do I get these two to work together
This is the current code I have:
<select name="backgroundColor" onChange="document.backgroundColor.style = \"background-color: 000000\";">
......
<div id="backgroundColor" style="width: 20px; height: 20px; background-color:#003366; layer-background-color:#003366; visibility: visible"></div>
So how do I get these two to work together