Please enable JavaScript to view this site.

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

Popup object > body()

Scroll Prev Next More

 

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

Syntax

popup.body();

Arguments

No arguments.

 

Return value

 
jQuery object representing popup's body.

Example

We open Products table Add page in popup and change the popup background to pink.  

 

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

 

See also:

Dialog API

Runner.displayPopup()

 

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