link Method
Description
Places an HTML Anchor HREF tag around the text in the object.Syntax
strVariable.link( linkstring )
"String Literal".link( linkstring )Arguments
linkstring: The text that is to be placed in the HREF argument of the HTML Anchor tag.
Remarks
This method is called to create a link out of a string object. Below is an example of how the method accomplishes this:
var strVariable = "This is an link" strVariable.link("http://www.microsoft.com")The value of strVariable after the last statement above is: <A HREF="http://www.microsoft.com">This is an link</A>
No checking is done to see if the tag already exists in the object.