Passing a text string from the server side to a client side function

K

ken busse

I would like to be able to write a string value to a
variable on the server side and have it passed to the
client side for display in an alert box.
I've tried writing to a Server control label and reading
it in client side script but can't get it working.
I've tried passing a form variable that has the residing
label but that doesn't work.
Do you have any suggestions?
 
R

Raj

Well You can store the string message in a Hidden
Field . This hidden variable can be access using a
scripts .

HTH
Raj
 

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

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top