window.open in IE running on vista/windows7, returns null

Hi

I am using IE on vista.
I use the function window.open to open a page hosted on another website.

var  obj1 = window.open(“http://www.someotherwebsite.com”, obj1);

problem is obj1 is null after this function. This happens only in IE on vista/windows 7.

IE on XP works fine. firefox, safari, chrome works fine.

Any ideas on how to get that value of obj1 after window.open.
I need to value of obj1 so that I can do other operations on the window like redirect , close etc.

Any help will be appreciated.

Thanks
anu
anumitAsked:
Who is Participating?
 
imantasCommented:
Quote from microsoft's page:

Internet Explorer 7 on Windows Vista: Opening a new window from an application (other than the Internet Explorer process) may result in a null return value. This restriction occurs because Internet Explorer runs in protected mode, by default. One facet of protected mode prevents applications from having privileged access to Internet Explorer when that access spans process boundaries. Opening a new window by using this method generates a new process. For more information about protected mode, see Understanding and Working in Protected Mode Internet Explorer. This commonly occurs for applications that host the WebBrowser control.
0
 
anumitAuthor Commented:
how to remove it from oracle database zone
0
 
leakim971PluritechnicianCommented:
Check this page : http://msdn.microsoft.com/en-us/library/ms536651(v=vs.85).aspx

The sName parameter must NOT contain spaces in IE
IE is very strict on the name used for the sName parameter. If set with a value that contains spaces: e.g. "search widgets" it will fail and you will not be able to access it from the opener.
0
 
anumitAuthor Commented:
thanks imantas. i am checking MS website
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.