alert, confirm, and prompt dialogs with JavaScript

preview_player
Показать описание
Browsers have built-in dialogs for alert, confirm, and prompt. These three methods create modal dialog controls.
Remember to use these sparingly as they do prevent the user from doing anything else on the page while they are visible.

Рекомендации по теме
Комментарии
Автор

Was looking for something exactly like this and then you post it the next day 😅

X.A.N.A..
Автор

very helpful especially with my computer subject

imreee
Автор

Thank u sir for ur great explanation ❤

doniamohamed
Автор

Great stuff and dude you have a very nice voice

gregcraig
Автор

Hi, thanks for this video. So, if I want to create a kind of alert message without using alert(), and without JQuery nor any JS framework: how could I do please?

Gwennadia
Автор

I'm trying to create a pop-up file save-as window using javascript. the only thing that does not work is the correct path to the file, which is on my server. Basically a download mp3 option pop-up window. Any suggestions would be appreciated !

rickhorvath
Автор

Currently chrome has blocked the javascript alert /confirm for cross origin domain . How can we retain the same functionality? Is there any workaround or helper function?

Livya
Автор

Is there a way to create a confirm window with a "Yes" and a "No" button instead of "Ok" and "Cancel"?

Tobi
Автор

How do you change the 127 numbers to "this page says"?

renoxt
Автор

alert('Hai Jangan lupa klik tombol Refresh!(Ok Untuk Lanjutkan)');

when I refresh my website the alert notification keeps popping up, I only want the alert to appear only once when the web is first opened

allaboutuniverse
Автор

amazing, but you should work on the sound it is very low

Sara-wkpu
Автор

how do i add line brakes in my prompt windows

malikd.mcnish