All functions Mac OS X Windows Crossplatform Components New in version: 1.0 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 2.0
Component: WebView
Mac OS X: Works
Windows: Works
MBS( "WebView.RunJavaScriptReturnTitle" ; WebViewerRef; Javascript )
Parameter | Description | Example value |
---|---|---|
WebViewerRef | Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. | |
Javascript | the text source of the javascript |
Run the specified JavaScript and then returns the value of the title property to FileMaker. To return a result of the JavaScript to FileMaker, simply set "document.title" to the return value. Why did we do this? Because it was the way we could get the result back from the web view on windows.
Return the htmlcode of a field as string:
MBS( "WebView.RunJavaScriptReturnTitle"; "browser"; "document.title=document.getElementById('td_ProcName_v').innerHTML;" )
Feedback: Report problem or ask question.