Var_javaMasta
04-20-2005, 11:39 PM
I have no clue about javascript, so there might be a simple problem that i just don't know about.
this is in my HTML file:
<SCRIPT type="Javascript">
<!--
picNum=1
picNumString="01"
//-->
</SCRIPT>
I dont know whats wrong, cuz when i try to run an alert telling me the value of picNum, there is an error.
<button type="button" onClick="alert(picNum)">Current pic</button>
Doesn't work... no alert even shows up.
this is in my HTML file:
<SCRIPT type="Javascript">
<!--
picNum=1
picNumString="01"
//-->
</SCRIPT>
I dont know whats wrong, cuz when i try to run an alert telling me the value of picNum, there is an error.
<button type="button" onClick="alert(picNum)">Current pic</button>
Doesn't work... no alert even shows up.