[thelist] JS Question
Salvatore Palmisano
spalmisano at usaiss.com
Thu Apr 12 11:09:37 CDT 2001
My JS isnt what it should be, and I cant seem to figure out why this isnt
working:
<SCRIPT type="text/javascript">
<!--
var x, y;
x = 3;
y = x.toString(8);
document.writeln(y);
document.writeln(x);
-->
</SCRIPT>
to.String(y) is supposed to convert the number to the y format (8 being
octal) isnt it?
Currently the writeln(x) and writeln(y) lines are outputting the same thing.
Did I miss a step?
--Salvatore Palmisano
Chief Information Officer
International Security Solutions, Inc.
spalmisano at usaiss.com
More information about the thelist
mailing list