Mentally Unstable Tugboat Captain
Posts: 797
Name: Chad
Location: /usr/bin/perl
|
I have the following code made. I need the random text to appear in "form1" in "textbox1"...is this possible? Thanks.
Code:
<SCRIPT LANGUAGE="JAVASCRIPT">
<!--
var r_text = new Array ();
r_text[0] = "Text1";
r_text[1] = "Text2";
r_text[2] = "Text3";
r_text[3] = "Text4";
var i = Math.round(3*Math.random());
document.write(r_text[i]);
//-->
</SCRIPT>
__________________
He's baaaaaaaack....
|