Open ghost opened 8 years ago
There is a weird problem with this plugin..
If loaded on document ready, plugin works nicely. EXAMPLE: http://codepen.io/ExClouds/pen/jWejQZ
BUT, if loaded dynamically (in this example, when user selects image), i'm greeted with error ".Jcrop is not a function" EXAMPLE: http://codepen.io/ExClouds/pen/NxOZOa
I combined both examples here: http://codepen.io/ExClouds/pen/bEmPOo Again on page load it works fine, dynamically - not.
Could i get some pointers?
Try adding jquery.min.js before jcrop.min.js
There is a weird problem with this plugin..
If loaded on document ready, plugin works nicely. EXAMPLE: http://codepen.io/ExClouds/pen/jWejQZ
BUT, if loaded dynamically (in this example, when user selects image), i'm greeted with error ".Jcrop is not a function" EXAMPLE: http://codepen.io/ExClouds/pen/NxOZOa
I combined both examples here: http://codepen.io/ExClouds/pen/bEmPOo Again on page load it works fine, dynamically - not.
Could i get some pointers?