here is my situation :
1. I have a form named "registration"
2. In a javascript function I got the number of form elements through
Code: Select all
var max=document.registration.length;I tried
Code: Select all
var max=document.registration[0].value;