Link to home
Start Free TrialLog in
Avatar of sanjshah12
sanjshah12Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Using an Request Querystring in a external JS file

Hi,

I have an ASP/VB page that loads an Javascript file i.e.

Main.asp

<script type="text/javascript" src="js/emaillist.js"></script>


But within the emaillist.js file I need a <%=Request.QueryString("userID")%>

How can this be used?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of neeraj523
neeraj523
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sanjshah12

ASKER

Thanks neeraj that works great!