Dalziel
02-12-2003, 01:12 PM
Is there anyway to set the value of an input text box with Javascript when the form and input have no name?
<html>
<head>
<title></title>
</head>
<body>
<form>
<input type="text" size="20">
</form>
</body>
</html>
Would there be any way to put a script in there to make the input box say something onload? I think its something like document.forms[0].something.value????
<html>
<head>
<title></title>
</head>
<body>
<form>
<input type="text" size="20">
</form>
</body>
</html>
Would there be any way to put a script in there to make the input box say something onload? I think its something like document.forms[0].something.value????