Sending FormInput to Areabox
View Single Post
11-07-2012, 01:29 AM
Supreme Master coder!
Join Date: Feb 2009
Thanked 3,998 Times in 3,967 Posts
Well, since your form is declared as only
, you could do
var oForm = document.forms; // first form in the page
But yes, in general you should give an id to a <form> and then reference it via document.getElementById().
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Users who have thanked Old Pedant for this post:
View Public Profile
Find More Posts by Old Pedant