Home > Web Front-end > JS Tutorial > body text

Jquery color picker ColorPicker implementation code_javascript skills

WBOY
Release: 2016-05-16 17:48:12
Original
1203 people have browsed it

CMS usually has the function of adding color to the title, but it is generally relatively simple and has little color support. Here I want to share a color selector that I modified. The interface is simple and powerful. It can be deployed quickly in our daily projects.

jQuery颜色选择器


Copy code The code is as follows:

$(" .colorpicker").colorpicker({
target:'#title',
success:function(o,color){
$("#color").val(color)
},
reset:function(o){
$("#color").val('');
}
});

Related files and demos
ColorPicker selector including demo program download: Click to download
ColorPicker demo: Click to view
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!