I have been working on this for hours now, trying to debug my code, but I can't find the problem. I have a vbscript function defined as follows:
URL_var = window.location.search
GetURL = URL_var
In the body I have some ASP code that I would like to use to gather the information on the page. When I am initializing my variables, one of the items I need is the URI (above I am able to get it with window.location.search).
When I initialize my variable to hold the code it gives me an error. Below is how I initialize the code as well as the error:
url_suffix = GetRUL()
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'GetURL'
Any help is appreciated.