in my user.data.crop_position value is "[ 100, 100, 200, 200 ]";
var crop_position=user.data.crop_position.slice(1,user.data.crop_position.length-2);
$('#cropbox').Jcrop({
setSelect: crop_position,
onChange: showPreview,
onSelect: showPreview,
aspectRatio: 1
});
doing this my jcrop is not select at set postion what can i do it is due to the string i am passing in how can i remove this ,
i know this is silly question but i got these kind of problem many time also please suggest me that in future these kind of problem dont came.
regards
rahul