I am able to successfully pass one variable to a new popup window using javascript and asp but, when I try to do a second I get an error. Can somebody help me with this line of code? You can see that I am trying to pass PictureId and MemorialId. My function is
function openWindowadd(picid,objMemorialId)
{
var newWind=window.open("image_uploadadd.asp?PIctureID&memorialID=" + picid,+ objMemorialId,"display","width=550,height=100,screenX="+w+",screenY="+h);
if (newWind.opener == null)
{newWind.opener = window;}
else
{
if ( browser=="n3" || browser=="n4" || browser=="ie4" )
newWind.focus();
}
}
Thanks,
JOsh
function openWindowadd(picid,objMemorialId)
{
var newWind=window.open("image_uploadadd.asp?PIctureID&memorialID=" + picid,+ objMemorialId,"display","width=550,height=100,screenX="+w+",screenY="+h);
if (newWind.opener == null)
{newWind.opener = window;}
else
{
if ( browser=="n3" || browser=="n4" || browser=="ie4" )
newWind.focus();
}
}
Thanks,
JOsh