Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

WebView.GetLink

Returns a property of the link with the given index.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
WebView 1.8 Yes Yes No No Yes

MBS( "WebView.GetLink"; WebViewerRef; LinkIndex; PropertyName )

Parameters

Parameter Description Example value
WebViewerRef Either the Web Viewer Object Name or the Web Viewer ID as returned by "WebView.FindByName" function. "web"
LinkIndex The index of the link. From 0 to LinkCount-1. 5
PropertyName The name of the property you want to query: href, rev, name, rel, accessKey, target, coords, hrefLang, type, charset, title lang, innerHTML, innerText "href"

Description

Returns a property of the link with the given index.

Examples

Queries 6th link:

MBS( "WebView.GetLink"; "web"; 5; "href" )

See also

Example Databases


WebView.GetInternetExplorerVersion   -   WebView.GetLinkCount

Feedback: Report problem or ask question.




Links
MBS Xojo blog