Actually, my html has multiple form names (form, form1, form2, etc..., and im just having trouble understanding how to access elements within.
I get error:
Message: 'document.forms.form.bname' is null or not an object
When I use the following code:
var bname = document.forms["form"].bname.value;
And when I try this:
var bname = document.form.bname.value;
I get the same results.