FMX.WebBrowser.TCustomWebBrowser.EvaluateJavaScript
Delphi
procedure EvaluateJavaScript(const JavaScript: string);
C++
void __fastcall EvaluateJavaScript(const System::UnicodeString JavaScript);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.WebBrowser.pas FMX.WebBrowser.hpp |
FMX.WebBrowser | TCustomWebBrowser |
Description
Adds your custom JavaScript to HTML page and immediately executes it.
To add a custom JavaScript to a page currently displayed within the TWebBrowser component, specify your script in the JavaScript
string parameter, and then call this method.