Re: Using two color picker in same page.
- You may want to look at this simple demo too:
This example shows how to have multiple color "inputs" re-using the
same color picker object. This may be what you're looking for.
Note that I show the "color" in the textbox versus the hex value, but
you can see how to change it to show the text value too (or in place
of the color).
> I have used color picker and it worked well.
> My requirement is to use two color picker container and extract the
> value of HEX field and put in my seperate text field.
> My code looks like this in colorpicker-fromscript_clean.html
> <input type="text" id="hexval1">
> <input type="text" id="hexval2">
> <div id="container1">
> <div id="container2">
> I have extracted the value of HEX field of color picker container1
> and put it in text field "hexval1".
> But I did not get the solution for extracting and putting the HEX
> value of color picker container2 in text field "hexval2".
> Pls help me if there is solution...