Well.. I can't help you on the demotion request decision.. but I think I see what your trying to do:
Code:<HTML> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- function blah() { var strURL; //I'm assuming the Tcode and pass elements are defined somewhere that you just didn't include... strURL = Tcode.options(Tcode.selectedIndex).innerText; strURL = "header.asp?Tcode=" + strURL + "&" + "pass=" + pass.value; //Don't use periods in your querystring names- keep it simple location.href=strURL } --> </SCRIPT> </HEAD> <BODY> <!--Do all the DB Connect stuff here--> <%Set QueryD = Connect.Execute (Qstr)%> <TABLE> <%Do Until QueryD.EOF%> <TR> <td> <b><a href="javascript:blah()"> Request for <%=QueryD("Stuff")%></a></b><br> </td> </TR> <%QueryD.MoveNext%> <%loop%> </Table> </BODY> </HTML>





Reply With Quote