Do you know about the types of popup boxes available in JavaScript?

devquora
devquora

Posted On: Feb 22, 2018

 

Yes, there are three types of popup boxes in JavaScript. They are:

  • Alert - it displays a message with an OK button.
  • Confirm- basically pops up a message window which is actually a confirmation with OK and cancel button.
  • Prompt - dialogue box gets pop-up through it which asks the user’s input followed with the confirmation buttons.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Web Developer Interview Questions

    According to you what are the major responsibilities of a web developer?

    As a web developer, most of the time entire responsibility of the project is shouldered on us. Major of them are:..

    Web Developer Interview Questions

    Explain what is CORS?

    CORS stands for the cross-origin resource sharing. It is actually a mechanism which enables the sources..

    Web Developer Interview Questions

    As a web developer what do you think essential you should know?

    As a web developer, there are multiple tasks that have to be performed like designing, programming, developing..