loop through form elements wiith an id
I have a form named "theForm". How can I loop through this form elements that have an "id" ATTRIBUTE to them and then populate my ids array?
var ids = new Array;
for(i=0; i<document.theForm.elements.length; i++)
IF ELEMENT HAS AN ID ATTRIBUTE POPULATE ids array
Last edited by nikko50; 10-13-2011 at 01:34 AM..