James H. Zisch - Computer Services

Support : Guides

 

Javascript® Dialog

Javascript® Dialogs are built-in user interfaces that may be invoked within the client browser. Dialogs allow Javascript® to display and accept information providing the ability for Javascript® functions to communicate with the user. Typical uses include prompting the user for required information, alerting the user to input errors, and displaying confirmation dialogs prior to form submissions. (NOTE: returning "false" as opposed to "true" may be used to prevent form submission.)

Alert message text with an OK button
Confirm message text with an OK and a Cancel button
Prompt message text with an input field, an OK and a Cancel button

NOTE: Refer to W3C's (World Wide Web Consortium) "Intrinsics" (Chapter 18 - Scripts) in the most current HTML approved standard for aspects specific to web device/browser scripting as it pertains to HTML elements. (Javascript® is a registered trademark of Netscape Communications Corp.; JScript® is a registered trademark of Microsoft Corp.)