I want to insert a session variable: Session ("MemX") into a window alert - result of the variable => undefined
The variable in a non-alert application (response.write) does provide the desired result (= name).
<script>
<% member = Session ("MemX")%>
var name = member;
function myFunction ()
{alert ("Hi" + name + ", \ nBlaBlaBla");
}
</ script>
<script> myFunction (); </ script>
Is this the correct syntax?
Thanks for tips.
The variable in a non-alert application (response.write) does provide the desired result (= name).
<script>
<% member = Session ("MemX")%>
var name = member;
function myFunction ()
{alert ("Hi" + name + ", \ nBlaBlaBla");
}
</ script>
<script> myFunction (); </ script>
Is this the correct syntax?
Thanks for tips.