I am using ajax in our web application and load form in a tag after the response from the server using innerhtml()
but when i refresh the page using f5 then my application page goes to the first page of the application
How i can prevent this
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.
There are a couple of ways to do this, using cookies (I wouldn’t recommend), using the url hash tag/anchor tag and parsing the data after the # with javascript, or use the history API
Don’t use jQuery, unless you are lazy.