Querystring Returns NULL

Results 1 to 2 of 2

Thread: Querystring Returns NULL

  1. #1
    CSmith Guest

    Default Querystring Returns NULL

    QueryString is returning a null in Netscape version 4.7.<BR>In the first page I have the following code:<BR>function btnShowReport_onclick() {<BR>sorttype = document.forms.thisForm.lstSort.value<BR>window.op en("joblist.asp?" + "sort=" + sorttype,"ActiveJobs","toolbar=no scrollbars=yes menubar=yes width=600 resizable=yes");<BR>}<BR>Then in joblist.asp I have:<BR>&#060;%<BR>SortyBy=Request.QueryString("s ort")<BR>%&#062;<BR>___________<BR>In this code SortBy is Always NULL. And something is chosen<BR>in lstSort. It works fine in IE.<BR>Sort always contains either 0 or 1<BR>Help <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Querystring Returns NULL

    You left out a semicolon -- ; -- at the end of "sorttype = document.forms.thisForm.LstSort.value". IE, because it also translates VBScript, is made so that it doesn&#039t require a ";" at the end of every statement -- a linebreak will do. NS, however, doesn&#039t support VBScript, and so it doesn&#039t support not having one. :)

Posting Permissions

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