This tutorial is to basically show you how to output text to the browser using javascript
Example:
<script type="text/javascript"> - This means that anything enclosed in this is javascript codeCode:<script type="text/javascript"> document.write("Hello World"); </script>
document.write("Hello World"); - Document is an object that refers the the web page. write is a method that means you want to write to the object. Whatever is defined in the parenthesis means that you want to write that to the object.
</script> - this just tells the web page that you are done defining you javascript code.


LinkBack URL
About LinkBacks




Reply With Quote







im a code-warrior, see my avatar
Can't wait to see more from you. 

Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum