query string

wxdqz

New Member
I currently have a query string that I'm passing a value to a page. I would like to pass more values to the page but I'm having a little bit of trouble with the syntax.

My orginial script with one value in a query string.

<!--
function MM_jumpMenu(selObj,restore){ //v3.0

eval("location='"+selObj.options[selObj.selectedIndex].value+"&txtRequestorName='+document.worksheet.txtRequestorName.value");

if (restore) selObj.selectedIndex=0;
}
//-->


The scripted I tried with two values in a query string.

<!--
function MM_jumpMenu(selObj,restore){ //v3.0

eval("location='"+selObj.options[selObj.selectedIndex].value+"&txtRequestorName='+document.worksheet.txtRequestorName.value+"&txtCustomerName='+document.worksheet.txtCustomerName.value");

if (restore) selObj.selectedIndex=0;
}
//-->


Any help would be greatly appriecated :)

Thanks.
M.
 
Back
Top