refInfoGetSourceAttribute

SYNOPSIS

varchar refInfoGetSourceAttribute(refInfo ref)

Parameters:

  • ref - A refInfo object

Returns:

  • The varchar name of the HTML attribute of the tag that signified it as a reference


DESCRIPTION
The refInfoGetSourceAttribute function returns the varchar name of the HTML attribute of the tag that makes it a reference; e.g. "href" for an <a href=...> reference. An empty string may be returned if no attribute was parsed, e.g. for JavaScript-generated links.


EXAMPLE

<$tag = (refInfoGetTagName($ref))>
  <$attr = (refInfoGetSourceAttribute($ref))>
  Tag/attribute: $tag/$attr


SEE ALSO
refInfoGetTagName


Copyright © Thunderstone Software     Last updated: Apr 15 2024
Copyright © 2024 Thunderstone Software LLC. All rights reserved.