Microsoft® JScript anchor Method |
| Language Reference | |
Places an HTML anchor tag with a NAME attribute around specified text in the object.
strVariable.anchor(anchorstring)
"String Literal".anchor(anchorstring)
The anchorstringargument is text you want to be placed in the NAME attribute of an HTML anchor.
Call the anchor method to create a named anchor out of a string object. The following example demonstrates how the anchor method accomplishes this:
var strVariable = "This is an anchor" strVariable.anchor("Anchor1")The value of strVariable after the last statement above is: <a name="Anchor1">This is an anchor</a>. No checking is done to see if the tag already exists.
file: /Techref/language/asp/js/222.htm, 2KB, , updated: 1996/11/22 10:11, local time: 2024/12/24 05:43,
18.222.161.245: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://massmind.ecomorder.com/techref/language/asp/js/222.htm"> Microsoft® JScript Language Reference </A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to massmind.ecomorder.com! |
.