You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Hello world output Empty Hello world output on Tue Jun 16, 2009 11:08 am


This tutorial is to basically show you how to output text to the browser using javascript


<script type="text/javascript">
document.write("Hello World");

<script type="text/javascript"> - This means that anything enclosed in this is javascript code

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.

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

ReedzSolution © 2011 | StaffList | Powered by: Forumotion

Forum create on Forumotion | Art, Culture and Leisures | High-Tech and Multimedia | © PunBB | Free forum support | Contact | Report an abuse |