| submit The functionality of a submit object is reflective of an Html INPUT element whose TYPE has been set to 'submit'. Used within a script, the submit object will perform the action then reload the current document, with a resetting of any user-input form controls. If you need the button to perform a scripted action without a server submit, use the button object instead - the form controls are not reloaded. It is widely recommended that you use the onSubmit event handler of the form object instead of the onClick event handler of the submit button. Used in this way, the event handler will submit the form if the event evaluates to true. If the event evaluates to false, the form will not be submitted. DOM Reference Internet Explorer window.document.formName.elementName window.document.forms[n].elements[n] window.document.all.elementID Netscape Navigator window.document.formName.elementName window.document.document.forms[n].elements[n]The properties of the submit object are: accessKey className disabled document form id isTextEdit lang language name offsetHeight offsetLeft offsetParent
offsetTop offsetWidth outerHtml outerText parentElement parentTextEdit sourceIndex style tabIndex tagName title type valueThe Methods of the submit object are: blur() click() contains() focus() getAttribute() handleEvent() insertAdjacentHtml() insertAdjacentText() removeAttribute() scrollIntoView() setAttribute()The Collections and Arrays for the submit object are: all [ ] children [ ] filters [ ]The Event Handlers for the submit object are: onBlur onClick onDblClick onFilterChange onFocus onHelp onKeyDown onKeyPress onKeyUp onMouseDown onMouseMove onMouseOut onMouseOver onMouseUp onSelect |