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: Jul 17 2021
Copyright © 2021 Thunderstone Software LLC. All rights reserved.