Click here to Skip to main content
15,892,575 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i am beginner at c# and asp.net. I have a public decimal variable on in my code behind. How do iget this variable and use it in a if statement with javascript on my aspx page?...Any help will be much appreciated.
Posted

1 solution

Any effort? Google is full of similar topics.
Look at the following like, it might give a head start.

http://manasbhardwaj.net/accessing-c-variables-in-javascript[^]
 
Share this answer
 
Comments
Prasad_Kulkarni 4-Sep-12 7:55am    
My 5
Manas Bhardwaj 4-Sep-12 16:13pm    
thx!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900