Trying to call execCommand after color selection:
$('#picker').colorPicker(
{
defaultColor:0, // index of the default color
columns:13, // number of columns
click:function(c){
document.execCommand('ForeColor',false, c);
}
});
but nothing happens. If i replace execCommand with $('#output').html(c) i see that call is successful.
example: http://jsfiddle.net/YQQXV/12/