Forum Moderators: open

Message Too Old, No Replies

Passing Paramerter in Querystring

         

aax123

1:58 am on Oct 16, 2005 (gmt 0)

10+ Year Member



How would I correct this? I needed to add _subPubID=42 and I don't think I have it down right. Something to do with the & after lid I think.

window.open('print_liner.aspx?Liner='+lid&_subPubID=42 , 'Print_liner','toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,width=350,height=250,screenX=10,screenY=10,left=0,top=0');

bsterz

3:04 am on Oct 16, 2005 (gmt 0)

10+ Year Member



If lid is a js variable it would be:

window.open('print_liner.aspx?Liner='+lid+'&_subPubID=42' , 'Print_liner','toolbar=no,directories=no,menubar=no,status=no,scrollbars=yes,resizable=no,width=350,height=250,screenX=10,screenY=10,left=0,top=0');