
April 20th, 2003, 09:50 AM
|
|
Contributing User
|
|
Join Date: Apr 2003
Posts: 51
Time spent in forums: 28 m 42 sec
Reputation Power: 11
|
|
|
is null or not an object error
I am working in html/asp within VisInterDev 6.0. Everything was working fine until I moved a text box from one page to another. I took it from within a form on one page to a form on another (and made the necessary changes in the two pages).
Here is the code that is generating the error:
<body onload="javascript:eventreg3.distance.focus();">
However I am using syntactically indentical code on other pages that work fine so I know the problem is not with that line.
It appears that it is not able to find the "distance" text box, but I have been over and over the html and can't find an issue. If I take that line out (keeping the <body> of course) it doesn't generate an error but my submit button doesn't work.
|