In other words, I want to do a regular, non-AJAX request, but using Javascript. I’m researching this because I have to enable the back button in my site.
Share
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.
Huh? There is no “alternative”. XMLHttpRequest is the only way of doing an HTTP request inside the page to my knowledge. If you want a synchronous request then do
async:false.You can do
location.href,history.pushStateorwindow.openbut those aren’t the same. You can also use jQuery bbq if you want back/forward.