function dblClick(e) { canvas = document.getElementById("myCanvas"); var newX = e.x - canvas.offsetLeft; var newY = e.y - canvas.offsetTop; $.ajax({ type: "POST", url: "../Admin/CreateMap.aspx/DoubleClick()", data: JSON.stringify({ x: newX, y: newY }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (data) { eval(data.d); }, error: function (msg) { alert(msg); } });
()
url: "../Admin/CreateMap.aspx/DoubleClick()",
url: "../Admin/CreateMap.aspx/DoubleClick",
"../Admin/CreateMap.aspx/DoubleClick()" is invalid url remove "()"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)