I am having the below code in my project
$.ajax({
type: "POST",
url: "Alerts.aspx/TestMethod",
data: "{}",
contentType: "application/json; charset=utf-8",
dataType: "json",
success: OnSuccess,
error: OnError
});
now I want to pass the "this" or me(vb.net) as parameter in data object how to pass the current class object.
can any one help me
I tried data: "{obj:"<%=Me%>"}",
but it is not working can anyone help ...