JavaScript
  Home arrow JavaScript arrow The Power of Javascript: An Introduction
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVASCRIPT

The Power of Javascript: An Introduction
By: Michael Youssef
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 13
    2005-06-28

    Table of Contents:
  • The Power of Javascript: An Introduction
  • Meet Javascript
  • The Hello World Example
  • Hello World? What's going on?

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    The Power of Javascript: An Introduction


    (Page 1 of 4 )

    Javascript is a powerful language for Web designers to know, but there are some misconceptions about what it is and what it can do. This first article in a series covering Javascript from the basics to more advanced applications will explain what it is, what it is not, and give you a small taste of what it can do.

    You are reading this series because you are probably a Web designer who would like to learn Javascript in order to bring your Web pages to life. "Learn Javascript" is a series of articles that will take you from basic Javascript programming to writing complex interactive cross-browser Web pages in simple English, without assuming that you have been working with any other programming languages before. I assume that you have a good knowledge of HTML (or XHTML) and a basic understanding of CSS. (If you don't know CSS, you might consider my series "Learn CSS," which you can also find on this site). I also assume that you know the W3C (the World Wide Web Consortium).

    That is all you should need to know to read and understand this series. Unlike other tutorials, which assume that you have a prior working knowledge of programming, I will begin with you by explaining what a programming language is, until you grasp the fundamentals of programming. You can consider this an advantage when you are ready to learn some other programming languages such as C, Perl, Java and even C#.

    Let's take a look at what you are going to learn in this series.

    After a brief introduction that covers programming and the Javascript language, you will learn about the very basics of Javascript, such as variables, identifiers, keywords, statements, data types, literals and values, operators, expressions and so on -- all in simple English with a minimum amount of technical expressions, because I know you will not like the jargon in the beginning. Then we will discuss how you can control the execution of your Javascript code using the if/else, switch, the for loop, and the while and do while loops.

    At that point, you will have a good understanding of what we are talking about. After that, we will move to Javascript functions; then we will discuss objects, then Arrays. After that, it will be a good time to learn about some of the built-in Objects that Javascript offers.

    We will discuss text manipulation in Javascript, and how to manipulate the Windows and Frames. You will learn how to validate users' data and handle HTML forms. We will talk about error handling and debugging, and browsers' implementation of the Document Object Model and Dynamic HTML or DHTML (don't worry if you don't know what this means yet). Our most important discussion, as you will see, will be the browsers' compatibility issues and how to write code that can run on most browsers. You will also learn how to manipulate cookies and retrieve users' data by using them. We will discuss how to use XML with Javascript. We will discuss other topics in the series, too, so don't worry; you are going to master Javascript.

    Now, let's meet Javascript.

    More JavaScript Articles
    More By Michael Youssef


     

    JAVASCRIPT ARTICLES

    - Validating Digits and Dates with jQuery`s Va...
    - Validating Ranges, Emails, and URLs with jQu...
    - More Uses for the jQuery Tooltip Plug-in`s b...
    - Building Image-Based Tooltips with the jQuer...
    - Using the jQuery Tooltip Plug-in`s bodyHandl...
    - Using Rangelength, Min and Max with the Vali...
    - Using Minlength and Maxlength with the Valid...
    - Modifying Tooltip Coordinates with the jQuer...
    - Applying a Fade Out Effect with the jQuery T...
    - Tracking Mouse Movements with the jQuery Too...
    - Checking Online Forms with the Validator jQu...
    - Nested JavaScript Functions as Objects
    - The jQuery Tooltip Plug-in
    - Active Client Pages at the Server
    - ACP Tab Web Page







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT