String.link() MethodNameString.link() Method---add a hypertext link to a stringAvailabilityNavigator 2.0, Internet Explorer 3.0 Synopsis
string.link(href) Arguments
ReturnsA copy of string, enclosed within <A HREF="href"> and </A> HTML tags. ExampleThe following two JavaScript fragments evaluate to identical strings:
'Section 1-1'.link('ch01#sect1') '<A HREF="ch01#sect1">Section 1-1</A>' |
|