Home | Contact Us | Log In | Help
  ASP.Net & C#
  Perl and PHP
  Java Scripts
  C and C++
  Ajax Tutorials
  J2ee, J2Me, Java
  Python & Ruby Rail
  Crystal Report
  Cold Fusion & CFML
  Photoshop/Web Designing
  Tools & Utilities
  Sql Server
  Domain Name Registration
  Remotely Hosting
  Web/Server Application
  Hotel Marketing
  Internet and Law
   Search Engine Optimization/SEO
Interview Questions
Previous< 1 2 3 4 5 6 > Next
JavaScript Shell Command from JDK

This tutorial provides introductions and tutorial examples on JavaScript shell command included in the JDK package. Topics include downloading and installing JDK 1.6, ECMAScript engine, running JavaScript code in command line, interactive or batch mode.

What You Need to Use JavaScript
To begin learning JavaScript, you will need to have a few things. Here they are:
  1. You should know how to use HTML and be able to edit your HTML documents. If you want to learn HTML, click here.
  2. You will need to have a web browser that supports JavaScript. You should use Netscape version 3 or later, or Microsoft Internet Explorer  version 3.02 or later. If you use IE, I recommend IE4 because IE3.x is not compatible with all of the scripts.
  3. You do not need to know how to do programming....I'll show you what you need to know for these basic scripts. If you want to try creating your own scripts, programming knowledege is helpful. Check out our JavaScript Links  for more documentation on using JavaScript.
What is JavaScript?

Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. It can enhance the dynamics and interactive features of your page by allowing you to perform calculations, check forms, write interactive games, add special effects, customize graphics selections, create security passwords and more.

Objects, Properties and Methods

Objects are collections of related properties and methods. Properties are things, similar to variables but their contents are contained within the object itself. Methods are actions that can be performed on an object. Often methods alter one or more of an object's properties.

Note: an analogy may be of help here. One can consider cars as objects. They have a collection of properties, one of which is the status of the parking brakes (park_brake) (either set or released). One method or action would be to apply the parking brakes (apply_park_brake()) which would change the status of park_brake to set.

Troubleshooting JavaScript

Superb troubleshooting skills are a must as a programmer. This is especially true with JavaScript as scripting engines can be unbelievably unforgiving. They demand that syntax be absolutely perfect - and if it's not, they'll be sure to let the whole world know you made a mistake by popping up error boxes all over your site (IE). And that's when they're in a good mood - on a bad day they may decide to freeze or crash the browser.

While we can talk about and study proper syntax until we turn blue, you won't be able to execute a script if you don't have good troubleshooting skills. Why?  Because we are human. We make mistakes. Period. Very minor syntax mistakes such as forgetting a period, using a double quote instead of a single quote or misspelling words are all examples of mistakes that will cost you a properly executing script. Since JavaScript is case sensitive, the chance of making a mistake even with a simple statement is quite good. Get used to it, you will make these mistakes.

previous< 1 2 3 4 5 6 > Next
  Copyright 2000-2006 © SoloScript.com, All rights reserved.