jquery ColorPicker 颜色选择器

$(function() {

$('#colorpickerField').ColorPicker({
onSubmit: function(hsb, hex, rgb, el) {
$(el).val(hex);
$(el).ColorPickerHide();

},
onBeforeShow: function () {
$(this).ColorPickerSetColor(this.value);
}
})

.bind('keyup', function(){
$(this).ColorPickerSetColor(this.value);
});


$(".colorpicker").css("zIndex",99);

});

 

 





 

 


颜色



转载于:https://www.cnblogs.com/1234cjq/p/6211395.html

你可能感兴趣的:(jquery ColorPicker 颜色选择器)