Содержание

RemoveElementsChildren

Removes the child elements of the specified element corresponding to the specified tag.

Syntax

procedure RemoveElementsChildren(aElements: TCSElements; aTagName: string = '');

Parameters

Notes

Examples

  1. //loading the page google.ru with request
    LoadURI('https://www.google.ru/#newwindow=1&q=test+request');
    //Get the elements h3
    var elements:=GetElements('h3');
    //Remove the child links
    RemoveElementsChildren(elements,'a');