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>