Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Popup, Frames and Opener


Message #1 by "Don Woo" <dwoo@r...> on Wed, 6 Dec 2000 14:10:32 -0000
Found my problem,  the frame I was trying to redirect was not preloaded
from my default.asp (SRC="") in the <frame> object and Netscape did not like
that. Once I preloaded with a blank html, it redirected just fine.
IE worked just fine with it not preloaded. But now how do your pass data
through the URL?  To IE I could just append it to the redirect line
   objFrame.location.href = "MainWindow.asp" + paramstrg;

but when I try that in Javascript to Netscape
   window.opener.parent.frames[1].location.href = "MainWindow.asp" +
   paramstrg;

I returns an error 400, bad request, but if I remove the "+ paramstrg", it
works fine.  Paramstrg contains data like "?p0=1&p1=2&p3=4".

dw

  Return to Index