I created a color-preview div which I am showing after the color picker text field.
I would like to use jquery to change the background of that div live as soon as a new picker value is selected on the iris-picker.
Problem is, the iris picker does not actually send the hex value anywhere. How could I intercept the color that is populated within the field before the form is submitted.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi Adrian
I took a look at the source code in Types for where colorpicker is invoked, and I based upon that I came up with the following which will update the background-color CSS property of a DIV with a class of "colour-swatch".