buntine
02-25-2004, 06:00 AM
Hey people, i definately think it is time someone powerful let me (or another regular ASP forum poster) add a sticky thread to the ASP forum explaining that ASP and JavaScript simply cannot directly communicate with one another.
There are several recent posts in the forum that have asked about using javascript variables in an ASP application (among other things). Obviously alot of people do not understand the restraints that are relevent to server/client web programming.
I am aware of the indirect ways which ASP can influence Javascript. Such as; setting Javascript variables from the server. This is an example i showed a recent poster:
<%
dim x
x = 2
response.write("<script>var x = " & x & ";</script>")
%>
Please, feel free to give me your feedback.
Regards,
Andrew Buntine.
There are several recent posts in the forum that have asked about using javascript variables in an ASP application (among other things). Obviously alot of people do not understand the restraints that are relevent to server/client web programming.
I am aware of the indirect ways which ASP can influence Javascript. Such as; setting Javascript variables from the server. This is an example i showed a recent poster:
<%
dim x
x = 2
response.write("<script>var x = " & x & ";</script>")
%>
Please, feel free to give me your feedback.
Regards,
Andrew Buntine.