Using ASP.Net variables in your Javascript code
One of the cool things about ASP.Net is that you can make use of your variables (from your ASP.Net code) in your Javascript code. If you have a variable called aVarName in ASP.Net, here's the Javascript code that makes use of the value of that variable:
var jVarName; jVarName = '<%#aVarName%>';
| Rating: | 100% positive, 7 total Votes |
| Categories: | programming ASP .Net javascript |
| Added: | on May 05, 2007 at 7:00 am |
| Added By: | an anonymous user |
| Searches: | javascript code asp.net variable asp |

