Silver Sun
09-26-2002, 11:28 PM
<SCRIPT LANGUAGE="JavaScript">
var number=Math.round(Math.random())*100
document.write('<input type="text" name="number" value="number">')
</script>
I need this to show a random number in the form box upon page entry. This does not seem to work, could someone show me what is wrong? :)
thanks in advance
var number=Math.round(Math.random())*100
document.write('<input type="text" name="number" value="number">')
</script>
I need this to show a random number in the form box upon page entry. This does not seem to work, could someone show me what is wrong? :)
thanks in advance