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

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -