I am able to pass it as a local varible but couldn't get it out as global varible. Can you help?
function seeduserid (form)
var seedvar = form.userid.value;
//var mrnot = new MersenneTwister(seedvar);
//var mrnot = new MersenneTwister(100)
var mrnot = new MersenneTwister(seedvar)
var x = mrnot.random()*451;;
& other varibales and fuctions....
<FORM action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" name="transForm">
<p> User ID: <INPUT TYPE="text" NAME="userid" id="userid" VALUE="" onblur="seeduserid(this.form)">