removeEx

[ Function ]

public static removeEx(
    element: JQuery
): JQuery;

Removes an HTML element from the overlay area. This function is intended for use from Code-behind.

If the element is not currently in the overlay area, it is returned without any changes.

Parameter

Name

Type

Description

element

JQuery

JQuery collection with an HTML element.

Return value

Type

Description

JQuery

JQuery collection with the removed HTML element.

removeEx 1:

Available from version 1.10

Sample - JavaScript

var myPopup = $('<div style="background:white;padding:10px;">Hello World<div>');
TcHmi.TopMostLayer.addEx(myPopup);
TcHmi.TopMostLayer.removeEx(myPopup);