thunderain
Programmer
Hi people
I have an asp variable such as (two examples)
pagelink = "pagelink = objRS (fieldname)
I need to put that variable into a javascript variable such as:
<script language="Javascript">
<!--
var urlSend
urlSend = pagelink
//-->
</script>
This example does not work. How do you make a javascript variable equal to an asp variable such as above. I am trying to send the variable in an href. It works if i hardcode the address but i need a variable.
Looked endlessly but cannot find out how.
Thanx
Thunderain
I have an asp variable such as (two examples)
pagelink = "pagelink = objRS (fieldname)
I need to put that variable into a javascript variable such as:
<script language="Javascript">
<!--
var urlSend
urlSend = pagelink
//-->
</script>
This example does not work. How do you make a javascript variable equal to an asp variable such as above. I am trying to send the variable in an href. It works if i hardcode the address but i need a variable.
Looked endlessly but cannot find out how.
Thanx
Thunderain