Passing Values

Results 1 to 2 of 2

Thread: Passing Values

  1. #1
    Join Date
    Dec 1969

    Default Passing Values

    Hi Folks,<BR> My page works perfectly in IE 4.0 and IE 5.0 but in IE 5.5 and IE 6.0 I cannot pass a querystring from one page to another. I am getting [object] instead of the value I am passing through. I am passing the value like so:<BR><BR>genrepform.Action = "changepgno.asp?outreport="&outreport <BR><BR>And receiving it in the other page:<BR><BR>inreportno=Request.querystring("outre port")<BR><BR>Any Help is much appreciated<BR><BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Passing Values

    genrepform.Action = "changepgno.asp?outreport="&outreport <BR><BR>If this is C/S JS then try:<BR>//...<BR>var outreport = "test"<BR>document.forms.genrepform.Action = "changepgno.asp?outreport=" + outreport <BR>//...<BR><BR>Also, I&#039;m not sure how valid putting querystring in action is, the standard might be to do this:<BR>..<BR>document.forms.genrepform.outreport .value = outreport;<BR>document.forms.genrepform.Action = "changepgno.asp";<BR>..<BR>&#060;form name=genrepform&#062;<BR>&#060;input type=hidden name=outreport&#062;<BR>..<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts