kdigennaro - 8:24 pm on Nov 7, 2013 (gmt 0)
I have been having some trouble jscolor over the last couple of days.
I am trying to create a button or field that on click will display a color picker and once the color is changed the color of a specified div will change. I have seen examples of this done with the background color of a page but am having trouble getting it to work with anything other than an input tag.
Below is my latest attempt, it does everything except change the specific div '#footer'. It only changes the entire background.
Any help is greatly appreciated!
<div class="color" id="footer">
<input class="color" onchange="document.getElementsByTagName('BODY').style.backgroundColor = '#'+this.color">
I read in the website that you can not post links to code. Am I allowed to link to the jscolor website so you can access that code if need be?