0

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.

1 Answer 1

1

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.pushState or window.open but those aren't the same. You can also use jQuery bbq if you want back/forward.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.