Passing variables

G

Gung Ho

Has anyone had success passing variable data between ASP scripts and
Javascript?
 
R

Ray at

<% s = "Hi." %>
<script language="javascript">alert('<%=s%>');</script>

Ray at work
 
G

Guest

Can I get a variable from client-side script?

DS
-----Original Message-----
<% s = "Hi." %>
<script language="javascript">alert('<%=s%>');</script>

Ray at work




.
 
R

Ray at

Get it where? You mean, get a client-side variable and send it to the
server or get a server variable using client-side code? What are you trying
to do?

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,362
Latest member
ChandaWagn

Latest Threads

Top