PDA

View Full Version : open a script in a new windows?


Subwaydesigns
08-14-2004, 12:07 PM
hi,

I need a cgi script to open in a new window once I've sent the vars to it. Right now, I'm using


loader.sendAndLoad("/cgi-bin/order.cgi", loader, "POST");


but obviously this doesn't launch a new window - which is what you'd usually want.

But in my case I need it to send vars, and execute the cgi in a new window. Anybody know a way to do this?

Thanks.

-S

CyanBlue
08-14-2004, 11:58 PM
Howdy... :)

I am not quite getting what you're asking but did you try 'send' function with the proper frame name instead of the 'sendAndLoad' function???

loader.send("/cgi-bin/order.cgi", "_blank", "POST");

Subwaydesigns
08-15-2004, 08:56 AM
Thanks a lot, that did it :)

Can't believe I missed something so easy. :rolleyes:

By the way, I've found many of my questions already answered by you in other threads. I really appreciate what you're doing for the flash community. Keep it up.

CyanBlue
08-15-2004, 09:25 PM
You're welcome... :)
I'm just returning the favor that I have gotten from others... Hope you do the same... :)