What I'm trying to achieve is it initialises a number between 1-2000 randomly.
When the submit button is clicked it simply returns if the number that is in putted is higher or lower than the randomly initialised number.
<body onload="initialisation ()">
Number: <input name="number" type="text"
onchange='checkNumber( this.value );'>
<input name="submit" type="button" value="Guess"
If you load this onto a webpage you'll see what i'm trying to do. I tried deleting the rest of the code to keep the size of the code down.