{Delphi: }
function FindIds(Aid:String):Boolean;
var
Document :Variant;
Id:Integer;
begin
Result := False;
Document := WebBrowser.OleObject.Document.getElementsByTagName('*');
for Id := 0 to Document.Length-1 do
begin
if Document.item(Id).id = Aid then
begin
Result := True;
Exit;
end;
end;
end;
关键字词: