...

View Full Version : Window.open working fine in IE 6 but not in IE 8?



sameer.mukhi
09-28-2011, 04:09 PM
Hi There,

The following piece of code is working fine in IE6 but not in IE 8:

if (Windowvar != null) { Windowvar.close(); }
Windowvar= window.open(sUrl, 'static', viewerWinOption, true);

To explain the functionality:
1. User clicks on one of the links on page 1
2. Clicking takes user from Page 1 to Page 2 (the transaction page).
3. Along with page 2, another page (Page 3) is opened.
4. User saves the transactions in the Page 2 and he is taken back to page 1
5. User clicks other link in Page 1 and activity in point 2 is repeated along with point 3

The issue is, when User clicks on the link AGAIN(for second transaction) in the Page 1 the Page 3 opens in the same browser window in the IE 6 but in IE 8 it opens in the differenct browser window (which shouldnt be happening)

Any help will be appreciated.

Regards,
Sameer.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum