A direct relationship between the two is simply non-existant. Both technologies were developed by seperate companies which have relatively nothing to do with each other.
Infact, an ASP script will be completely executed and forgotten about by the time the page is even downloaded and displayed on the users screen.
When a user requests a page, say 'category.asp', the browser will request the page from the server. Once the page has been located, the source code will be processed on the server and, if necessary, HTML code will be output and displayed to the user. With that said, it should now sound completely illogical to assign a JS variable to an ASP script without first sending the data to the server for processing.
x = 2
response.write("<script>var x = " & x & ";</script>")
Last edited by buntine; 03-10-2005 at 12:22 AM.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)