0

I am working with a jQuery color picker.

var colorCode = '<%=ConfigurationManager.AppSettings["colorCode"]%>';

$(function () {
    $('#color3').colorPicker({ 
        pickerDefault: "ffffff", 
        colors: [colorCode], 
        transparency: true 
    });
});

There is an input text control. Whenever the focus is on that control, a color palette will get displayed and the color can be selected. This was working fine.

I had a checkbox in the same page, and when I check that, a checked changed event will get raised. After this event, the jQuery color picker is not working, i.e. whenever the server side event raised the jQuery color picker is not working.

How can I fix this?

4

0 回答 0