Ok, been scratching my head on this one for a bit now... seems related to this ol' chestnut
Here's my problem:
var testlength = theForm.elements.length;
var testlastelement = theForm.elements[testlength].type;
testlength returns 60
BUT!
testlastelement comes back as "undefined" (null or not an object)
What gives?
FWIW, my page has a bunch of inputs (i'm trying to loop through a form and grab names, values, etc)... the form inputs are contained within a table but the last elements (which are also types=image) are outside that table.