CallGenerateIDHandler();
function CallGenerateIDHandler() { $.ajax({ url: "GenerateID.ashx", contentType: "application/json; charset=utf-8", dataType: "json", data: { 'Type': 'ID' }, responseType: "json", success: OnComplete, error: OnFail }); return false; } function OnComplete(result) { alert([result.Id]); } function OnFail(result) { alert('Request failed'); }
alert([result.Id]);
return false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)