View Single Post
Old 11-07-2012, 01:52 AM   PM User | #11
Redwards34
New to the CF scene

 
Join Date: Nov 2012
Posts: 7
Thanks: 3
Thanked 0 Times in 0 Posts
Redwards34 is an unknown quantity at this point
Quote:
Originally Posted by Old Pedant View Post
Well, since your form is declared as only <form>, you could do

Code:
var oForm = document.forms[0]; // first form in the page
But yes, in general you should give an id to a <form> and then reference it via document.getElementById().
I see, each form is placed in an array regardless I assume. Thank you for your help, I am not familiar with implied languages for programming and have been having difficulty.
Redwards34 is offline   Reply With Quote