S
sheelpatel
I am currently using php to output the javascript and was just
wondering if my syntax was correct as the code does not seem to work
<form action="" method="post" name="myform">
<input name="test" type="text" />
<input name="test2" type="text" onclick="document.myform.test2.value =
document.myform.test.value" />
<input name="test3" type="text" />
<input name="test4" type="text" onclick="if
(document.myform.test4.value == document.myform.test3.value) {
document.getElementById(a).innerHTML='Some Text'}" /> <div id="a"> bob
</div>
</form>
is part of what the php outputs, and the specific section I am having a
problem with is the onclick section of test4 any help would be greatly
appreciated, Thankyou
wondering if my syntax was correct as the code does not seem to work
<form action="" method="post" name="myform">
<input name="test" type="text" />
<input name="test2" type="text" onclick="document.myform.test2.value =
document.myform.test.value" />
<input name="test3" type="text" />
<input name="test4" type="text" onclick="if
(document.myform.test4.value == document.myform.test3.value) {
document.getElementById(a).innerHTML='Some Text'}" /> <div id="a"> bob
</div>
</form>
is part of what the php outputs, and the specific section I am having a
problem with is the onclick section of test4 any help would be greatly
appreciated, Thankyou