N
Nikhil Patel
Hi all,
I want to access a asp.net variable from Javascript. I tried the
following line in Javascript but it did not work. sAccountNo is the ASP.Net
variable I need to access and store its value in a Javascript variable.
var AccountNo = "<%= sAccountNo %>";
I also tried the following line but no success...
var AccountNo = <%= sAccountNo %>;
Thanks...
-Nikhil
I want to access a asp.net variable from Javascript. I tried the
following line in Javascript but it did not work. sAccountNo is the ASP.Net
variable I need to access and store its value in a Javascript variable.
var AccountNo = "<%= sAccountNo %>";
I also tried the following line but no success...
var AccountNo = <%= sAccountNo %>;
Thanks...
-Nikhil