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

WebView.GetLink

Returns a property of the link with the given index.

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

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


WebView.GetImageCount   -   WebView.GetLinkCount

Feedback: Report problem or ask question.




Links
MBS REAL studio tutorial videos - Pfarrgemeinde Ministranten Nickenich