Reset all pickers with a single button click [jQuery version]
Opened this issue · 0 comments
noum commented
Hi,
I'm using the jQuery version and have multiple pickers on the page, like:
var cp_picker = cp_input.colorPicker({ ... }),
cp_picker2 = cp_input2.colorPicker({ ... }),
...
Then I would like to add a <input type="button" ... />
at the bottom of the page to reset all these pickers to their default colors.
How this can be acheived please ?