Microsoft® JScript link Method |
| Language Reference | |
Places an HTML Anchor tag 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 is to be placed in the HREF attribute of the HTML anchor.
Call this method to create a link out of a string object. The following is an example of how the method accomplishes this:
var strVariable = "This is a link" strVariable.link("http://www.microsoft.com")The value of strVariable after the last statement is: <A HREF="http://www.microsoft.com">This is an link</A>.
No checking is done to see if the tag already exists.
file: /Techref/language/asp/js/246.htm, 2KB, , updated: 1996/11/22 10:12, local time: 2024/12/27 08:16,
3.146.255.135:LOG IN
|
©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://sxlist.com/TECHREF/language/asp/js/246.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.