6 document
.getElementById('posted-text').value
= 'text-entered';
7 document
.getElementById('form-to-submit').submit();
11 <body onload=
"setTimeout(onLoad, 0);">
12 <form id=
"form-to-submit" action=
"posted.php" method=
"post"
13 enctype=
"multipart/form-data">
14 Text to input:
<input id=
"posted-text" type=
"text" name=
"posted-text"/><br>
15 <input type=
"submit" value=
"Submit" />