Bikash Kumar Ray
SQL and ASP.net Related Practical Problems
Thursday, August 26, 2010
Accessing Session Value in JavaScript
< script type="text/javascript" >
function ShowName()
{
var mySessionvalue='< %= Convert.ToString(Session["name"]) % >';
document.getElementById('txtName').value = '< %= Convert.ToString(Session["name"]) % >';
}
< /script >
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment