Hi All,
I've been using Perl and Javascript for a while. Recently, I downloaded my own working perl software from a linux machine to Windows. I also downloaded ActivePerl to my Windows XP. Most of the functions do work except I can't get the window.open to popup a window. The code is below...appreciate any help.
Note: Not sure if this the proper forum for these questions. Appreciate any help
Thanks.
var newWindow;
function onClickBuild(form, actFld){
var mURL=new String("");
var mURL_name=new String("xyzabc");
var mURL_opt=new String("");
xx=100;yy=100;
mURL="test.pl";
if (!newWindow || newWindow.closed) {
newWindow = window.open (mURL,mURL_name);
newWindow.opener = window;
alert(newWindow.name);
}
newWindow.focus;
alert('A'+mURL);
return false;
}
I'm sure it's not a Perl problem.
Which browser do you use for testing? Do you look into Javascript Error Console?