944,052 Members | Top Members by Rank

Ad:
Feb 22nd, 2007
0

IE7 New Window Javascript

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
LAPHO is offline Offline
1 posts
since Feb 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: problem while creating a checkbox from javascript
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: Not a function ... why?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC