function cropImage() { debugger; var x = 10; var y = 30; var w = 50; var h = 80; $jQuery.ajax({ type: 'POST', contentType: "application/json; charset=utf-8", dataType: 'json', url: 'WebService.asmx/ImageCrop', data: "{'x':'" + x + "','x':'" + y + "','w':'" + w + "','h':'" + h + "'}", async: false, success: function (response) { alert("Record saved successfully in database"); }, error: function () { alert("some problem in saving data"); } }); }
jQuery
$
jQuery.ajax({ //..... //.... });
$.ajax({ //..... //.... });
Uncaught TypeError: $.ajax is not a function
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)