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:var strVariable = "This is a hyperlink" strVariable.link("http://example.microsoft.com")The value of strVariable after the last statement is <A HREF="http://example.microsoft.com">This is a hyperlink</A>.
No checking is done to see if the tag already exists.
© 1997 by Microsoft Corporation. All rights reserved.
file: /Techref/inet/iis/jscript/htm/js821.htm, 2KB, , updated: 1997/9/30 04:45, local time: 2024/10/31 16:48,
3.145.54.55:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/techref/inet/iis/jscript/htm/js821.htm"> link Method</A> |
Did you find what you needed? |