Please help.
I am quite new to ASP and VBScript. I'm having difficulty in passing a variable to a procedure.
I have
<input type="button" value="Run" onclick="call GetReportParam(<%=Session("SelRpt"%>)" >
where Session("SelRpt" = Request.ServerVariables("QUERY_STRING"
I am able to do a response.write for Session("SelRpt" .
But when I use it in the onclick even above, it returns a false.
Please help.
Thanks.
I am quite new to ASP and VBScript. I'm having difficulty in passing a variable to a procedure.
I have
<input type="button" value="Run" onclick="call GetReportParam(<%=Session("SelRpt"%>)" >
where Session("SelRpt" = Request.ServerVariables("QUERY_STRING"
I am able to do a response.write for Session("SelRpt" .
But when I use it in the onclick even above, it returns a false.
Please help.
Thanks.