I am using JQuery to post with AJAX to another ASP page. Do I need this ASP page to return a full html page. Or can I just have it send back a value ( I just need a status ) . Here is my function.
$.ajax({ url: 'X.asp', cache: false, type: 'POST', data: queryString, success: function(html){ $('#x_'+Num).append(html); } });
If it’s just a simple value you need, I’d simple use Json (JQuery has a dedicated method for that : $.getJSON()).
So no, you don’t need your ASP page to return a full html page, just the value in simple JSON notation.