Syntax
string.anchor(name)
The anchor() method converts the string to an instance of the tag, setting the NAME attribute to the name that is passed.
<html>
<script language="JavaScript">
<!--
var myString = new String("Hello, World!");
document.write(myString.anchor("HELLO"));
-->
</script>
</html>
6.5.anchor |
| 6.5.1. | String.anchor() |