Hi all,
In my application I’m using ‘window.open’ method in href links in order to open new windows.
The href link and its associates at the parent page look like that:
href=”#” onclick=”startProcess(‘Some String’,’selectedForm’,’Some String’);return false;” target=”giftWin”>Gift …
function startProcess(processName,inputName,inputValue) {
…
…
window.open(sUrl,name,’height=350,width=350,resizable=1,scrollbars=1,status=1,menubar=1,toolbar=1′);
….
…
}
Right now, when child window closes (by submitting or other ), The parent window auto refreshes automatically.
This behavior (Not controlling parent refresh process) makes me lots of problems, since i need to update some variables on the parent page and submit it (and not refresh/reload) right after the child window closes.
I don’t understand what makes my browser acting like this ? (IE8)
What makes the parent window auto refreshes after its child closes, how can i control this (prevent parent from auto refresh)?
Thank’s for the help.