| Language Reference ||
Places an HTML anchor tag with a NAME attribute around specified text in the object.
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: 2019/12/12 06:20,
|©2019 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://www.sxlist.com/techref/language/asp/js/222.htm"> Microsoft® JScript Language Reference </A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!