J
Jehan
At the end of my HTML page I have following.....
<script>
for (i = 0; i < document.section_entry.length;i++) {
// some code
}
</script>
Here it gives an error that "document.section_entry.length is null or
not a object". "section_entry" is the name of a form on my page.
When I have this same code inside a function (instead of at a global
level like how it is here) it works fine. Anyone have any ideas what
is causing the error?
Thanks in advance for any help,
Jehan
<script>
for (i = 0; i < document.section_entry.length;i++) {
// some code
}
</script>
Here it gives an error that "document.section_entry.length is null or
not a object". "section_entry" is the name of a form on my page.
When I have this same code inside a function (instead of at a global
level like how it is here) it works fine. Anyone have any ideas what
is causing the error?
Thanks in advance for any help,
Jehan