$.get("CommentCount.aspx", function (data) {
count = data;
alert(count);
});
this code will get data from CommentCount.aspx and i wrote it in html but when i run html nothing happen unless i open CommentCount.aspx first then html.How can i still get it when i only run html ?