本文整理自网络,侵删。
procedure TForm1.WebButton1Click(Sender: TObject);begin
asm if (1>0) { alert("hello"); } end;
end;
//取得JS返回值
var s: string;begin asm s = myJavaScriptProc(); end;end;
相关阅读 >>
Delphi 颜色转换函数: 从 Delphi 到 html
Delphi出现 no mapping for the unicode character exists in the target multi-byte code page 处理方法
Delphi firedac tfdconnection连接mysql数据库
更多相关阅读请进入《Delphi》频道 >>