HTML Random Number Generator?

Curious cat

New member
I am creating a survey using SurveyMonkey and want to end with a randomly generated 4-digit conformation code.

This website uses HTML but DOES NOT run scripts.I already tried putting in the following but nothing showed up after the words "confirmation code":
CONFIRMATION CODE: <script type="text/javascript">
var randNum = Math.ceil(Math.random()*9999);
</script>

PLEASE HELP!!!!! I am an HTML noob so simple, basic, and straightforward PLEASE!!
stuart- what do you mean "in head" (remember i'm REALLY new at this)

gandhi- where do I put that?

Maybe someone need to just write the code and tell me where to put it after the words "Confirmation Code"...or elsewhere within a descriptive text box.

ONCE AGAIN - this site i'm using does NOT ALLOW javascript...so I need a way to do this without it...that code I provided was an example of what I have already tried :(
WHERE WOULD I PUT THE DOCUMENT WRITE IN THINGY?
 
Back
Top