im using this jquery plugin which is a colorpicker, but i was wondering when the user chooses the color, where is the color hex value stored, so i can process it and put it in the database. thanks
this is the link for the jquery plugin:
http://www.eyecon.ro/colorpicker/
HTML
<div id='colourPicker'></div>
JS
$('#colourPicker').ColorPicker({
onChange: function(hsb, hex, rgb){
$("#full").css("background-color", '#' + hex);
}
});
It is stored in the
hexargument included in the onchange event. The one you are already using.Example of setting a hidden input value
HTML
JS/jQuery