Suppose I have two HTML file: a.html and b.html. I have a link in a that open b
How can I make a JavaScript function in file a so that when I click the link, it send a string to b, open b and then a variable in b will store the string?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are doing this client side, then you have to pass the data from the first page in the query string of the URI for the second page. Then you can parse it out of the
locationobject in the second page.