Skip to content Skip to sidebar Skip to footer

Cannot Read Property 'elements' Of Undefined - In Js Console

HTML form (outputed thru PHP) $retVal .= '
\n'; // Form content edited out; it

Solution 1:

Try

document.getElementById('importSampleDataForm').elements.length

Also, nested forms are not allowed, so that also needs to be resolved.

Post a Comment for "Cannot Read Property 'elements' Of Undefined - In Js Console"