p2p.wrox.com - beginning_javascript archive
Our web spider found the following code snippet at p2p_wrox_com and contains information about asin and JavaScript.
t;script language="JavaScript">
 var MyFirstVariable
 MyFirstVariable = <%=strFoo%>;
 alert(MyFirstVariable);
</script>
</body>
</html>
Message #2 by pankaj.shinde@i... on Wed, 31 Jul 2002 20:06:06 +0530

 
Make A Change like below and try

 MyFirstVariable = "<%=strFoo%>";

With Regards,
-Pankaj Shinde -----Original Message-----
From: Ken Buska [mailto:kbuska@attbi.com]
Sent: Wednesday, July 31, 2002 9:02 PM
To: Beginning JavaScript
Subject: [beginning_javascript] Javascript and ASP Vars Hey all, could you take a look at the code below and tell me why it isn't 
working. I don't get an alert, so im assuming the Javascript var is Null. 
But I don't know how to fix it. Any Ideas would be appreciated.

Than
Read the entire article....