How to create popup using javascript

Syntax

Example 1

Example 2

Window Features

statusThe status bar at the bottom of the window.
toolbarThe standard browser toolbar, with buttons such as Back and Forward.
locationThe Location entry field where you enter the URL.
menubarThe menu bar of the window
directoriesThe standard browser directory buttons, such as What’s New and What’s Cool
resizableAllow/Disallow the user to resize the window.
scrollbarsEnable the scrollbars if the document is bigger than the window
heightSpecifies the height of the window in pixels. (example: height=’350′)
widthSpecifies the width of the window in pixels.

 

Advanced popup use plugin like jquery ui

https://jqueryui.com/dialog/#modal-form

Author: bm on May 10, 2016
Category: java script

Your comment:

Your Name

Comment:




Last articles