ColorBox not showing up for ColorPickerInput

The colorbox is not showing up for the ColorPickerInput control. I’m not even seeing it in the examples. Any ideas?

I can find the cs_codeBox div using FireBug and it has height and width set to 20px, with no other CSS attributes, but it’s not visible. Tried in Chrome and Firefox with the same results.

Thanks,
–Jason

More info. I see now that it won’t automatically show up on load, but as a result of selecting a color in the picker. I tried the code given in another post:

cp.setColor("#afafaf");
cp.onSelectHandler.apply(cp,cp.getSelectedColor());

The problem is that I get an error that “onSelectHandler” is undefined…

Thanks!
–Jason

Got it. When attaching an event handler, it gets added to the object as “ev_” + eventName.toLowerCase(). So instead of calling:

cp.onSelectHandler.apply(cp,cp.getSelectedColor());

you call:

cp.ev_onselect.apply(cp,cp.getSelectedColor());

–Jason