IE7 New Window Javascript

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Feb 2007
Posts: 1
Reputation: LAPHO is an unknown quantity at this point 
Solved Threads: 0
LAPHO LAPHO is offline Offline
Newbie Poster

IE7 New Window Javascript

 
0
  #1
Feb 22nd, 2007
Can you please advise me why the following Javascript function works in Firefox,Opera and Netscape but I get "Error:The marshaled interface data packet(OBJREF) has an invalid or unknown format."

It seems very basic! What am I missing?

code

function OpenSite()
{var newwindow;
newwindow=window.open(SiteN,'name');
if (window.focus) {newwindow.focus()}
}

/code

SiteN is a global variable carrying the url.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC