Hi,
I have a form.
When I retrieve the form's values I use Vbscript
<%
Dim RequestType
Dim EmployeeID
Dim RequestorID
RequestType=Request.Form("RequestType"
EmployeeID=Request.Form("recip_employee_no"
RequestorID=Request.Form("request_employee_no"
%>
Then goes the HTML part and then JavaScript function.
When I use RequestType variable in my JavaScript function, I get an error RequestType is not defined. Is that because the VbScript variable are not visible for the JavaScript
How to go around this problem
Thanks
I have a form.
When I retrieve the form's values I use Vbscript
<%
Dim RequestType
Dim EmployeeID
Dim RequestorID
RequestType=Request.Form("RequestType"
EmployeeID=Request.Form("recip_employee_no"
RequestorID=Request.Form("request_employee_no"
%>
Then goes the HTML part and then JavaScript function.
When I use RequestType variable in my JavaScript function, I get an error RequestType is not defined. Is that because the VbScript variable are not visible for the JavaScript
How to go around this problem
Thanks