Hi PT,
Thanks for your quick response.

I also suspected a popup blocker at first, except doLoad will work every
time until you call doSave.  Also, to be sure, I turned off all popup
blockers, and I still have the problem. 

I'll also add this in there, in case it offers any clues: When you click
on doSave, the IE browser window flashes for a second (like it's losing
and re-gaining focus).  

- Jes


-----Original Message-----
From: P T Withington [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 02, 2006 11:50 AM
To: Jes Lefcourt
Cc: [email protected]
Subject: Re: [Laszlo-user] Problems with loadJS <-> loadURL

IE pop-up blocker blocking you because it thinks you are doing a
cross-domain load?

On 2006-11-02, at 13:34 EST, Jes Lefcourt wrote:

> Hello,
> I have a page which (among other things) contains two buttons.  One 
> button causes a file to be downloaded and saved.  The other button
> (hopefully) causes a new browser window to open which lets a user to 
> upload a file (simple HTML in that separate browser window).
>
> In sum:
>
>         <method name="doSave">
>               var url = 'path/to/file';
>               LzBrowser.loadURL(url);
>         </method>
>
>         <method name="doLoad">
>               var url = 'path/to/file/upload/page';
>               LzBrowser.loadJS("window.open('" + url +"', '_blank'," +

> "'height=125,width=700')");
>         </method>
>
> Everything works beautifully in Firefox.  In IE, doSave always works.
> Also, you can perform the doLoad command successfully many times.   
> But,
> once you call doSave, doLoad never works again until you re-load the 
> browser.
>
> Does anyone have any ideas?
>
> Thanks!
>
> - Jes


Reply via email to