Previous Topic: convertXmlUrlNext Topic: createResourceObject


createHyperLink

The createHyperLink function creates an HTML hyperlink element with the specified parameters and returns a string that will be formatted as "<a href =\""+url+"\">"+name+"</a>".

Syntax

sLink = createHyperLink(url, name)

Arguments

url (String)

Specifies the HTTP URL whose hyperlink needs to be created.

name (String)

Specifies the name of the hyperlink.

Return Value

sLink (String)

A hyperlink with a URL and name as defined by the arguments passed into the function.

Example

sLink = createHyperLink("http://www.ca.com","CA Technologies");