|
-
Apr 11th, 2001, 12:33 PM
#1
Thread Starter
Lively Member
Code:
<!-- #include file="./Include/Constants.asp" -->
<HTML>
<HEAD><TITLE>Reporting Index</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function myFunc(number) {
...
window.alert (<% Session("GroupPass") %> );
...
}
// End -->
</SCRIPT>
</HEAD>
<%
If request.form("SaveInfo") = "Save Info" then
Session("GroupPass")= 10 Session("InfoSet")= 1
end if
%>
<BODY>
...
</BODY>
</HTML>
Problem:
The Session("GroupPass") variable is set to 10 yet when I use it in the alert I get a value of NaN.
How can I keep track of the GroupPass value in Javascript?
Thanks in advance,
rlb_wpg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|