Please enable JavaScript to view this site.

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

Popup object > header()

Scroll Prev Next More

 

The header() method returns jQuery object representing popup's header.

Syntax

popup.header();

Arguments

No arguments.

 

Return value

 
jQuery object representing popup's header.

Example

We open Products table Add page in popup and change header background to lightgreen.

 

var popup = Runner.displayPopup({
   url: Runner.pages.getUrl("products","add"),
   header: 'Add Product'
});
var header = popup.header();
header.css("background", "lightgreen");

 

Result

 

popup_object_header

 

See also:

Dialog API

Runner.displayPopup()

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software