Javascript many calls onselect -
i ashamed ask on line onselect, can't call updatecoords , showpreview. don't know syntax ...
$('#cropbox').jcrop({ aspectratio: 1, onselect: updatecoords showpreview, onchange: showpreview }); thanks , pardon french
if functions, call them this:
$('#cropbox').jcrop({ aspectratio: 1, onselect: function(){ updatecoords(); showpreview(); }, onchange: showpreview });
Comments
Post a Comment