procedure TForm8.Button2Click(Sender: TObject);
var
NamePole:string;
CodeStr,s:string;
begin
s:=Memo1.text;
CodeStr := 'document.getElementById("'+DopText+'").value="'+s+'";' ;
Chromium1.Browser.MainFrame.ExecuteJavaScript(CodeStr, 'about:blank', 0);
end;