indiWiz.com
SiteSearch:
Jump:

Site Map | WizTools.org | jCraze Blog
Web Developer's Den!
Home : WDD : JavaScript
This Article...
Print Version
Add Comment
View Comments
JavaScript
The Bare Facts
Rollover Script
Script Windows
Status Message
Time Sensibility of JavaScript
JavaScript and Frames
Expandable Menus
Cursor Effects!
Regular Expressions Reference
JavaScript Screen Size
JavaScript HTMLize (Using Regular Expressions)
Java Script Dynamic Time Update
Sections

Commniquè
Sign Guestbook!
Read Guestbook!
MailMe!

The Bare Facts: JavaScript

From Subhash...

JavaScript is here to stay...The DOM specification by W3C is an indication that this language will be carried to the <XML> age. So isn't it time that you learnt it?
  1. JavaScript is not Java. Java is a compiled language while JavaScript is an intrepreted one.

  2. JavaScript has syntax similar to C & Perl.

  3. JavaScript is case-sensitive.

  4. JavaScript is used with HTML to get over the limitations of HTML. In an HTML document the script is placed within the <script> tags.JavaScript may also be kept in a separate file with an extension *.js and attached to an page using <script language="JavaScript" src="path/where/the/file/is/filename.js"></script>

  5. JavaScript can be divided into 'Server-side JavaScript' and 'Client-side JavaScript'. As the name suggests, in 'Server-side JavaScript' the server interprets the script & sends the output to the user. In 'Client-side JavaScript' interpretation is done by the web browser. In this page 'JavaScript' refers only to 'Client-side JavaScript'.

  6. Both 'Server-side JavaScript' & 'Client-side JavaScript' are executed in different environments - that of the server & client's browser respectively. Therefore their Document Object Model (DOM) differs substantially. DOM specifies the 'objects' in the environment where the script operates. Thus in 'Client-side JavaScript' HTML is the environment where the script operates. Some of the common objects of HTML are - images, links, form elements. Thus using DOM you can modify these objects dynamically during run-time.


User Comments

Add Comment

[Quick Stats: Number of main threads: 1, Number of sub-threads: 1]


Sign Guestbook | Who is Subhash?
The contents of this site are copyright© 2000-2008, indiWiz.com. All Rights Reserved.