'anchor()' Example : anchor « Javascript Methods « JavaScript Reference

'anchor()' Example

    
<html>
<body>
<button onclick="var myS = new String('Sample String'); 
        alert(myS.anchor('myAnchor'));">
ANCHOR
</button>

    
      
      








Related examples in the same category

1.'anchor()' Syntax, Parameters and Note
2.'anchor()' is applied to