<script type='text/javascript'> var p = s.getMaximum(); </script> <form action='/cgi-bin/Lib.exe' method='POST' name='checks' ID='Form1'> <INPUT TYPE='text' NAME='inputbox' VALUE='VAR P FROM JAVA SCRIPT HERE?' ID='Text1'><P></form>
Possible to pass the javascript value ‘p’ as the value of input form?
Thanks.
You want to read about the Javascript DOM.
Start with the following: http://www.w3schools.com/htmldom/dom_obj_form.asp
Specifically you’re looking to manipulate document.checks.inputbox.value
Edit: Page removed. Answer can be found here now: http://www.w3schools.com/jsref/coll_doc_forms.asp