Passing session variables in to javascript in asp.net
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
<script language="javascript">
function sample()
{
var a = <%= Session["value"].ToString() %>;
}
</script>All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia My Website | Ask smart questions