c# and javascript data share .net 1.1

V

verizon_news

Have a asp.net 1.1 web page with c# and javascript in same page and I need
to create data or variables in c# that can be access in javascript. I
appreciate any code snipped that can show me how to accomplish this.

Regards,

Andres
 
M

Mark Rae [MVP]

Have a asp.net 1.1 web page with c# and javascript in same page and I need
to create data or variables in c# that can be access in javascript.

Easiest way to do this is to create hidden fields in your markup and
populate them server-side with the data you need client-side...
 

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
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top