Skip to content

AJAX Posts Without Arguments

razaibi edited this page Jul 1, 2015 · 1 revision

Making Ajax Post Without Argument(s):

-using with ASP.Net Example:

var AjaxCaller = new razax.zhr("PageName.aspx/WebMethodName", "CallBackFunctionName");

AjaxCaller.dopost();

function CallBackFunctionName(ReturnValue){

//Perform action on return value

}

-using with Bottle or any other frameworks:

var AjaxCaller = new razax.zhr("/WebMethodName", "CallBackFunctionName");

AjaxCaller.dopost();

function CallBackFunctionName(ReturnValue){

//Perform action on return value

}

Clone this wiki locally