Closed GoogleCodeExporter closed 9 years ago
I figured it out, not sure if it's the best solution
I'm binding a click event to the OK button, like here:
$('input.Ok').live('click',function() {
update_code();
});
Original comment by mus...@gmail.com
on 29 Dec 2011 at 1:02
The plugin has always supported both commit callbacks (when they click ok) and
live callbacks as they are altering the color. Additionally, by reading the
documentation, you can also bind a function to the change event of the color
object itself. The commit and live callbacks are just shorthand for attaching
to the change events of the commit color or the live color object. The function
when called will include the new color and the context from which the change
originated.
Original comment by christop...@gmail.com
on 27 Jan 2012 at 1:09
Original issue reported on code.google.com by
mus...@gmail.com
on 29 Dec 2011 at 12:55