wwUtils::Href

Creates an HTML anchor tag like <a href=""> as a string.

o.wwUtils.Href(lcLink, lcText, lcAttributes)

Return Value

string that has link as follows: <a href="link" >Text</a>

Parameters

lcLink
The URL for the HREF link.

lcText
The text to display for the link

lcAttributes
Any attributes you want to apply to the link ie. class, style, target etc.

Example

HREF("customer.tt?id=" + TRANS(pk),CompanyName,"target='top' class='hoverbutton'")
* <a href="customer.tt?id=1" target='top' class='hoverbutton'>West Wind</a>

See also:

Library wwUtils

© West Wind Technologies, 1996-2024 • Updated: 02/08/16
Comment or report problem with topic