Always i get the alert in the \"error\". When i debugged i get the type,url as undefined. can anyone help me why that method is not getting called??
$(document).
If im correct you should be using static method for these purposes, so function in your code behind should look like this
[WebMethod] public static void jQueryAjaxCalledMethod() { //SOME CODE HERE }
If you still get some errors take a look on this guy blog Encosia maybe you'll find there a solution