javascript - How do I achieve navigation without affecting browser history? -
if go here: http://twitter.com/account/resend_password
then click on "send instructions" without filling in form, appears doing full, non-ajax request.
however, if @ browser history, previous page (resend_password) isn't in history. it's if made ajax request.
what twitter doing? ajax request, or doing tricky?
window.location.replace load page won't save in history.
window.location.replace('http://twitter.com/account/resend_password');
Comments
Post a Comment