i am unable to get the value from cs page .
my code is below here :
js page :
var jsonp_url = “http://192.168.1.29/Webwidget/Test.aspx?callback=?”;
$.getJSON(jsonp_url, function (data) {
alert(‘data’);
$(‘#example-widget-container’).html("This data comes from another server1: " + data.html);
});
cs page :-
protected void Page_Load(object sender, EventArgs e)
{
Response.ContentType = "application/json;charset=utf-8";
String strReturn = String.Empty;
strReturn = Request.QueryString["callback"].ToString() + "({\\"html\\":" + "Hello World!" + " })";
Response.ContentType = "text/javascript";
Response.Write(strReturn.ToString());
}//Page_Load
please need your help.