Modals

suggest change

Syntax

Remarks

alert, confirm, and prompt are browser-only. They stop the page until the dialog closes. Current browsers may suppress repeated prompts. print() opens the print dialog. The current specification is https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#user-prompts.

About User Prompts

Persistent prompt modal

Confirm to Delete element

Usage of alert

Usage of prompt

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents