marcusslawrence Level: Trainee
 Registered: 08-12-2010 Posts: 3
|
Re: How to find form elements index value?
When the page loads, as only four elements (including the submit button). However, by changing the values of certain items, the total number of form elements will change, which means that the index number of these components will change. To move the focus to the next item on the form after the page reloads, I think I have to find the index number of the element so that the user has changed before the page reloads, then add 1 the index number, and place the focus there.
____________________________
books
|