I'm trying to get data from url using javascript. From the previous page I sent the data using $.redirect
. The code snipet is below.
First the page redirects to another page sending data
$.redirect("index.html", {"name":"zayne"});
The page redirects perfectly but i have no way of now getting this data on the current page i redirected to.