Change Image Color by clicking button

0

I have several images, when I click the button I want it to take the ID of the image to pass this ID to the OnChange function and execute the function update (this.jscolor) .

Here is the full HTML code snippet:

<button name="color1" class="jscolor" onchange="update(this.jscolor)" 
   style="width:163px; height:46px; border:0px; margin:0px; padding:0px;"
   id="color_value" value="1085A9">
</button>
    
asked by anonymous 13.01.2016 / 15:30

0 answers