Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Canvas 2D Web Apps/User Prompts

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

In HTML5, web apps are allowed to prompt users for input with simple dialog boxes, in particular an alert dialog (message and OK button), a confirm dialog (message, OK, and Cancel button), and a prompt for textual input (message, default text, OK, and Cancel button). W3C has published recommendations for a Web Application API for User prompts. In the Mozilla Developer Network, see the window object (functions alert, confirm, and prompt).