How to create popup using javascript

Syntax

Example 1

Example 2

Window Features

status The status bar at the bottom of the window.
toolbar The standard browser toolbar, with buttons such as Back and Forward.
location The Location entry field where you enter the URL.
menubar The menu bar of the window
directories The standard browser directory buttons, such as What’s New and What’s Cool
resizable Allow/Disallow the user to resize the window.
scrollbars Enable the scrollbars if the document is bigger than the window
height Specifies the height of the window in pixels. (example: height=’350′)
width Specifies the width of the window in pixels.

 

Advanced popup use plugin like jquery ui

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

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

Your comment:

Your Name

Comment:




Last articles