2022.1

Table Of Contents
height(): Number
Returns the outer height of this element, including padding and borders, excluding margins. To
include margins, call height(true).
The returned value is the height in pixels, without measurement unit (e.g. 400).
height(value): void
Sets the outer height of this element, including padding and borders, excluding margins. To
include margins, call height(value, true).
value
Number. Give the height in pixels, but without the measurement unit (e.g. 400, not 400px).
Examples
This script adds 20 pixels to the width and height of an element.
var h = results.height();
var w = results.width();
h = h + 20;
w = w + 20;
results.height( h );
results.width( w );
The following script does the same, but in this case, margins are included.
var h = results.height(true);
var w = results.width(true);
h = h + 20;
w = w + 20;
results.height( h, true);
results.width( w, true);
hide()
Hides one or more HTML elements, which can be:
Page 1409