IT / KomputerSeptember 6, 2007 9:34 am
javascript mini how to
In this example we will add an anchor to a text:
<script type="text/javascript">
var txt="Hello world!"<br>document.write(txt.anchor("myanchor"))
</script>
|
The code above could be written in plain HTML, like this:
<a name="myanchor">Hello world!</a>
|
The URI to TrackBack this entry is: http://adilabkom.blogsome.com/2007/09/06/javascript-mini-how-to/trackback/
No comments yet.
RSS feed for comments on this post.
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>