If the current window is www.myparent.com
and a button labeled "a" is clicked, it triggers the following function
window.open('children','same','',??)
. Subsequently, a new page will open as www.myparent.com/children
.
On the other hand, clicking button "b" triggers this function window.open('sub','same','',??)
.
The page www.myparent.com/children
gets replaced with www.myparent.com/sub
.
Now, I am curious about the purpose of replace (true/false)
. For more information, please refer to the syntax definition.