Home | Javascript validator | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |
Microsoft® JScript® link Method |
Language Reference Version 1 |
Places an HTML anchor with an HREF attribute around the text in a String object.
strVariable.link(linkstring)
"String Literal".link(linkstring)The linkstring argument is the text that you want to place in the HREF attribute of the HTML anchor.
Call the link method to create a hyperlink out of a String object. The following is an example of how the method accomplishes this:The value of strVariable after the last statement is:var strVariable = "This is a hyperlink"; strVariable = strVariable.link("http://www.microsoft.com");No checking is done to see if the tag has already been applied to the string.<A href="/">This is a hyperlink</A>
Home | Javascript validator | JavaScript Editor | Get Advanced JavaScript and Ajax Editor, Validator and Debugger! 1st JavaScript Editor. |