This is not possible with an OS or native browser window popping up. You will have to create a custom overlay dialog.
I would advise using a library like jQuery UI to do this. You can then customize whatever is in the popup.
You can view a demo of the dialog here
More Related Contents:
- Sum of two numbers with prompt
- Detecting Unsaved Changes
- How to open javascript menu with click & close with mouse out
- phone number validation in js [closed]
- Share data between AngularJS controllers
- When is .then(success, fail) considered an antipattern for promises?
- How to show the “Are you sure you want to navigate away from this page?” when changes committed?
- What is the JavaScript >>> operator and how do you use it?
- Sort Array Elements (string with numbers), natural sort
- Multi-row insert with pg-promise
- Dealing with float precision in Javascript [duplicate]
- Render basic HTML view?
- Memory leak risk in JavaScript closures
- Using querySelectorAll to retrieve direct children
- JavaScript double colon (bind operator)
- Limit number of lines in textarea and Display line count using jQuery
- What do the different readystates in XMLHttpRequest mean, and how can I use them?
- Value was evaluated just now with console.log on JavaScript object
- Using a Rails helper method within a javascript asset
- What reason is there to use null instead of undefined in JavaScript?
- addEventListener in Javascript triggers the click event automatically
- Does Javascript slice method return a shallow copy?
- Most modern method of getting mouse position within a canvas in native JavaScript [duplicate]
- Disable elastic scrolling in Safari [duplicate]
- Wrap Text In JavaScript
- Is it good to call subscribe inside subscribe?
- JSON schema : “allof” with “additionalProperties”
- Why is JavaScript prototyping?
- Alternatives to JavaScript eval() for parsing JSON
- I am trying to make a simple toggle button in javascript