I need to do the following vbscript block only using javascript. I have no choice but to use javascript. I wish I did
<%somevariable = request.querystring("datafield")%>
Printable View
I need to do the following vbscript block only using javascript. I have no choice but to use javascript. I wish I did
<%somevariable = request.querystring("datafield")%>
It can be done in JavaScript.
Use this:
myVar = location.search;
This retrieves the querystring, including the "?"
Just use some string parsing to get your values.
Chris