Jeetu .NET SQL
Saturday, 10 September 2011
How to use Session Value in JavaScript
<script type=
"text/javascript"
language=
"javascript"
>
window.onload =
function
()
{
var
sampleColor =
'<%=Session["Color"]%>'
;
alert(sampleColor);
}
</
script
>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment