Input file show live selected image in JCrop
I am using JCrop to resize and crop images. I wanted to add a feature so the user can: -Select a image file -Use jcrop to edit -Upload without changing the page I can do all these separately, but I get bugs when I mix these. $('#target').attr('src', e.target.result); $('#target2').attr('src', e.target.result); The problem right now is, when I change the src location of id "target" main image, it doesn't show my new image. But when I do it on the id "target2" preview image it does show my new image and I can work on it.(But doesn't crop the new image when i press crop) <script src="jquery.min