Skip to main content

isVisible()

checks whether a Button control is visible on the page

isVisible(): boolean;

Returns:

true, if a control is visible; otherwise, false.

Example

form.getItem("button").isVisible();// -> true/false