getAnchor()

Returns the name of the anchor referenced in the page’s URL. That is, the part of the URL after the hashtag (#).

Signature

public String getAnchor()

Return Value

Type: String

Previous
Next