Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > JavaScript API > Popup object > Methods

Popup object > show()

Scroll Prev Next More

 

The show() method shows the previously hidden popup.

Syntax

popup.show();

Arguments

No arguments.

Return value

No return value.

Example

Here we create the popup, hide it immediately and then show again later.

 

var popup = Runner.displayPopup({
   url: Runner.pages.getUrl("products","add"),
   height: 400,
   header: 'Add Product'
});
popup.close();
 
// some other code
 
popup.show();

See also:

Dialog API

Runner.displayPopup()