|
| JAVASCRIPT anchor() METHOD
In javascript, the anchor() method creates an html anchor.
The general format is:
string.anchor(nameOfAnchor);
Example:
<script type="text/javascript">
var string="Good morning John";
document.write(string.anchor("nameOfAnchor"));
</script>
The above will be equivalent to:
<A NAME="nameOfAnchor">Good morning John</A>
See Also:
|
|