Below is working.
$("#imgCrop").Jcrop({ onSelect: storeCoords });
Below is not working. The idea is if user touch the screen for 1sec the crop method should call.
$("#imgCrop").on("taphold", function () { alert("I m here"); $("#imgCrop").Jcrop({ onSelect: storeCoords }); });
The alert message is being displayed if touch 1 sec on mobile screen. The imgcrop is Asp.net Image ID. Jcrop is Jquery. When I am debugging, it give as "Microsoft JScript runtime error: Object doesn't support this property or method". How to resolve this ?