Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides
New in version: 5.4   6.0   6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2    Statistic  


Queries the current HTML of the document.

Component: WebView
Version: 2.8
Mac OS X: Yes
Windows: Yes
Server: No
FileMaker Cloud: No

MBS( "WebView.GetHTMLText"; WebViewerRef )


Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function.


Returns html code as text or error.


Queries the current HTML of the document.
This is not the HTML code loaded from the server, but the current state.
Typically the website is modified with Javascript to add widgets or hide/show things at runtime.

See also WebView.GetPlainText, WebView.GetFormattedText and Webview.SelectedText.


Query plain text from webviewer:

MBS("WebView.GetPlainText"; "web")

Query html text from webviewer:

MBS("WebView.GetHTMLText"; "web")

Query formatted text from webviewer:

MBS("WebView.GetFormattedText"; "web")

Query selected text:

MBS("Webview.SelectedText"; "web")

See also

WebView.GetFormattedText   -   WebView.GetImage

Feedback: Report problem or ask question.

MBS Real Studio Plugins - Förderverein St. Arnulf Nickenich