Hi,
I am trying to open new link using window.open() in javascript.
It will open new window with the passed URL. But It is giving problem for further windows.
I will try to explain, hope you will understand what I need
On First page I just have a link for the next Main page. On this Main page I have to do my further stuff.
Stuff like, I need to open a window through this Main page and on submission of the details I wish to close the opened new window and redirect it back to the original (main) page.
But here it will open a new window on submit button instead of closign current window and refresh the original page.
First Page with link to main page ---->
Main Page in new window ----->
Child window of Main page -----> On submission of child window data it is opening New window with Main page data
In this case, I have three windows opened First Page , Main Page , Newly opened Main page on Child data submission.
What I need is, Only First Page & Main Page.
This issue will not occur if I use window.location() which will redirect the current URL.
But I want Main Page on new window other than First Page.
I think default browser window opened directly through Windows has different properties than the browser window which is opened using window.open().
Thanks in advance!
Mayuresh