i\'m trying to redirect to another page using javascript but it will flash all previous data and i wont be able to show them in new page
using location.replace(...)
location.replace(...)