Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
53
rated 0 times [  57] [ 4]  / answers: 1 / hits: 34068  / 16 Years ago, mon, march 2, 2009, 12:00:00
<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.


More From » forms

 Answers
55

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


[#99900] Wednesday, February 25, 2009, 16 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kylanalis

Total Points: 438
Total Questions: 85
Total Answers: 102

Location: Barbados
Member since Sun, Nov 27, 2022
1 Year ago
kylanalis questions
Sat, Oct 2, 21, 00:00, 3 Years ago
Tue, Oct 13, 20, 00:00, 4 Years ago
Thu, Feb 13, 20, 00:00, 4 Years ago
Tue, Jan 7, 20, 00:00, 4 Years ago
;