Previous
Appendix C
Differences between Navigator 2.0 and 3.0
Next
There are several new features of the Form object and of the form
elements that it contains in Navigator 3.0:
- The Form object now supports a reset()
method that resets the value of all elements within the form.
- The Form object also supports a corresponding
onreset() method, invoked when the form is
reset by the user.
- All form elements now have a type property
that specifies what type of element they are.
- The onclick()
event handler of all form
elements that support it is now cancelable--the event handler
may return false to indicate that the
Browser should not execute the default action for that
button. This affects the Reset and Submit elements.
- The options displayed within a Select element can now be
dynamically updated by JavaScript programs. The
options[] array of the Select element and
its length property have special behavior
that manipulates the displayed options, and the new
Option() constructor allows the creation of
new Option object for display within the Select element.
The Location Object
Miscellaneous Changes
file: /Techref/language/java/script/definitive/appc_07.htm,
4KB, , updated: 2019年10月14日 16:00, local time: 2025年9月13日 15:55,
©2025 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Questions?<A HREF="http://techref.massmind.org/techref/language/java/script/definitive/appc_07.htm"> [Appendix C] C.7 Forms and Form Elements</A>
Did you find what you needed?
Welcome to massmind.org!
Welcome to techref.massmind.org!
.