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