my event in my phphtml looks like :
onClick= saveFile(document.form_ccpr.sessid.value , 6);>
the function:
function saveFile(var1,var2){
var url= \"http://someurl.com/savefile.php?fileprefix=\"+var1+
\"filepostfix=\"+var2;
window.open(url, 'myWindow', 'dependent,width=655,height=350, innerWidth = 625, innerHeight=280, left=178,top=78, location=no, scrollbars=yes resizable=yes, toolbars=yes, menubar=yes');
}
but i always get the above error.
why?
this is not a direct php question,
but i'm sure someone here can help me!
thanks,
gk