
adrockjames
stranger
Dec 4, 2001, 7:02 PM
Post #1 of 4
(474 views)
|
|
passing javascript vars to perl cgi scripts
|
Can't Post
|
|
hi, this might be more appropriate in the javascript section, but as the last post was nov., thought i would try here. i have a link on a web page that calls a javascript function which in turn calls a perl cgi script that presents a form. in the js function, i want to pass the originating url to the cgi. like cgi?ul=http://url.javascriptfunction.was.called.from/ i have this function, but can't get it to pass the url... can anyone help? function newWin() { var url= "" + opener.<something>.<something>; aWindow = window.open("http:\/\/www.mypage.com\/cgi\/form.cgi?ul=url","","toolbar=no,location=no,directories=no,status=no,menubar=1,scrollbars=no,resizable=yes,width=400,height=550"); } thanks in advance!
|