[Javascript] forms and js

Paul McGuire pmcguire at cguk.co.uk
Wed Mar 3 10:38:20 CST 2004


There was a typo the text field is called (TESTS) not (TEST) as changed below. The original problem is still there!


<form NAME="TESTTEST" action="">
<input type="text" name="(TESTS)">
</form>

<SCRIPT>
TESTTEST.(TESTS).value = 'HELLO';
</SCRIPT>
  ----- Original Message ----- 
  From: Paul McGuire 
  To: [JavaScript List] 
  Sent: Wednesday, March 03, 2004 4:31 PM
  Subject: [Javascript] forms and js


  The below code wont work because of the brackets in the form name. I cant do anything about those brackets the nature of the program means there there. How can I write to that form text field with JS if brackets (or other special characters) are there?


  <form NAME="TESTTEST" action="">
  <input type="text" name="(TEST)">
  </form>

  <SCRIPT>
  TESTTEST.(TESTS).value = 'HELLO';
  </SCRIPT>


------------------------------------------------------------------------------


  _______________________________________________
  Javascript mailing list
  Javascript at LaTech.edu
  https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20040303/d3c703d9/attachment.htm>


More information about the Javascript mailing list