Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get value from Javascript to Label
#1
In javascript I have a function that returns ID. 
I want to read this value from HTML javascript and display it on the Label.

procedure TMainForm.IWAppFormCreate(Sender: TObject);
begin

AddToInitProc('function GetId() { return 5; }');

end;


procedure TMainForm.IWAppFormShow(Sender: TObject);
begin
IWLabel1.Caption:= Here This ID from function GetId -> 5
end;
Reply


Messages In This Thread
Get value from Javascript to Label - by matija - 07-17-2019, 08:23 AM
RE: Get value from Javascript to Label - by kudzu - 07-17-2019, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)