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 collection with an HTML element. |
Return value
Type | Description |
---|---|
JQuery collection with the removed HTML element. |
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);