Well, you don't show any DOCTYPE, so we, and your browser, have no idea of which Document Object Model to use. "document.Textbox" may or may not be meaningful in any particular browser's default HTML version/DOM.
You simply must declare a proper DOCTYPE, and then work within that Object Model.
Both "document.getElementById()" and "document.getElementByName()" are perfectly valid methods within their DOMs.
Reputation Points: 227
Solved Threads: 37
Made Her Cry
Offline 1,697 posts
since Dec 2004