I have a question regarding window.open()
. I need to open a new URL in same window, while passing some data from the previous window (different URL) .
I have code which is passing data to other window but it is opening new window.
Any suggestion how to open it in same along with data?
window.open(url,PREFIX + JSON.stringify({"some":"somevalue"));