String.anchor() : anchor : String JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » String » anchor »

 

String.anchor()









Syntax








string.anchor(name)



The anchor() method converts the string to an instance of the












<html>
    <script language="JavaScript">
    <!--
    var myString = new String("Hello, World!");

    document.write(myString.anchor("HELLO"));
    -->
    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo String
» anchor