HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

Javascript Tutorial in Hindi - 29 Javascript alert box , prompt box , confirm box .

792 views April 27, 2020 6:06

Watch on YouTube
Channelinfinitech

Description from the creator

#alertBoxJavascript
#promptBoxJavascript
#confirmBoxJavascript
#javascriptBoxes
#alertFunctionJavascript
#confirmFunctionJavascript
#promptFunctionJavascript


In javascript boxes or functions are available with :


1) Message box or alert() box. It is used to print or show messages on the box. This function belongs to window object in javascript. the alert() function has one parameter, where you can pass any value.



2) Confirm box in javascript has one parameter, where you can pass the message. it is called a decision-making box.



Confirm box has two-button , the first button is ok. if you click on the ok button you will get an answer as true. in case if you click on the cancel button then answer will be false.


Confirm box can be used before you delete any value or before you do logout from your application.


3) Prompt box in javascript has 2 parameters. The first parameter accepts the message and the second parameter accepts any value ( the second parameter is an optional parameter ).


If you want to get values from javascript then use this prompt box.


For more details in Javascript. you can visit our website:


php-training.in/javascript-advance-training-mum…

About this tutorial

infinitech published this 6:06 video tutorial on April 27, 2020. It has been watched 792 times on YouTube.

Channel
infinitech
Category
Education
Duration
6:06
Published
April 27, 2020
Views
792
Likes
22

Tags

Share

This tutorial in other languages