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
Specifies the HTTP URL whose hyperlink needs to be created.
Specifies the name of the hyperlink.
Return Value
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");
|
Copyright © 2014 CA.
All rights reserved.
|
|