Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing variables to new window

Status
Not open for further replies.

jvande

MIS
Jun 6, 2001
115
US
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


 
var newWind=window.open(
"image_uploadadd.asp?PIctureID=" + picid + "&memorialID="+ objMemorialId,"display","width=550,height=100,screenX="+w+",screenY="+h);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top