I am trying to load a page inside a div using below code.
$("#ReportDiv").load("../pages/Report.html", function (response, status, xhr) {
if (status == "error") {
$("#ReportDiv").html("Unable to load the page");
}
});
It is simple load function which works great for normal URL. In this case, I am trying to pass querystring to the page with the below url.
"../pages/Report.html?SomeParam=true",
This also works fine. But I am unable to read this value in Report.html
page. Obviously "window.location" won't provide this querystring. And other than that, I can't figure out what other way I can try.