look
procedure TMainForm.UniBitBtn1Click(Sender: TObject);
begin
UniSession.AddJS('document.getElementById("txtReceptor").value="'+UniEdit1.Text+'";'); //transfer content
end;
procedure TMainForm.UniFormCreate(Sender: TObject);
begin
// UnihtmlFrame2.HTML.loadfromfile('index3.html'); //this is work
UniURLFrame1.HTML.loadfromfile('index3.html'); //if i use uniURLFrame not ok, why???????
Cannot set property 'value' of null
end;
************index3.html*********************
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<title>Test HTML</title>
</head>
<body>
<form id="frmTeste">
<p><strong>Input Receptor:</strong> <input type="text" name="textReceptor" size=80 id="txtReceptor" value="" />
<form>
</body>
</html>