Java Script Tutorial

What is JavaScript?

  • JavaScript is the programming language of HTML and the Web.
  • JavaScript is a client side, Object oriented, interpreted, high level scripting language, while Java is a client side, Object oriented, compiled high level language. It is correlative to and integrated with Java. It is light weight and small language.
  • JavaScript can be connected to the objects of its environment to provide programmatic control over them. Inside every host environment (Ex: A web browser), JavaScript is used to connect to the objects of its environment to assign programmatic control over the objects.

What are the Prerequisites to learn Java Script?

This chapter has been prepared for all JavaScript amateurs to assist them in interpreting the basic functionality of JavaScript to build up dynamic web applications and web pages. In order to learn JavaScript the reader is expected to have a prior knowledge of HTML coding. It would help if the reader had some prior knowledge of object-oriented programming concepts and a general idea on how to create online applications.


  • JavaScript is a client side scripting language developed by Brendan Eich.
  • JavaScript can be run on any operating systems and almost all web browsers.
  • You need a text editor to write JavaScript code and a browser to display your web page.

Try this basic sample code of JavaScript:

Next Topics »
Javascript Switch Case
A Short History Of Java Script
Javascript Implementations
What Is Javascript? A Short History Of Java Script Javascript Implementations Java Script Overview Javascript Syntax Javascript Enabling Javascript Placement Javascript Variables Javascript Operators Javascript If Else Javascript While Loop Javascript For Loop Javascript Loop Javascript Loop Control Javascript Functions Javascript Events Javascript Cookies Javascript Page Redirect Javascript Dialog Boxes Javascript Void Keyword Javascript Page Printing Ecmascript Basics Basic Concepts Of Ecmascript Variables In Java Script Ecma-262 Keywords Reserved Words Primitive And Reference Values Primitive Types Conversions Reference Types Ecma-262 Operators Statements Functions Of Java Script Object Basics Object-oriented Terminology Working With Objects Types Of Objects Scope Of The Java Script Defining Classes And Objects Modifying Objects Inheritance Inheritance In Action Implementing Inheritance Alternative Inheritance Paradigms Javascript In The Browser Javascript In Html Javascript In Svg The Browser Object Model Dom Basics What Is The Dom? Dom Support Using The Dom Dom Html Features Dom Traversal Detecting Dom Conformance Dom Level 3 Regular Expressions Regular Expression Support Simple Patterns Complex Patterns Understanding The Regexp Object Common Patterns Browser And Operating System Detection The Navigator Object Methods Of Browser Detection A (not So) Brief History Of The User-agent String The Browser Detection Script The Platform/operating System Detection Script The Full Script Example: A Login Page All About Events Events Today Event Flow Event Handlers/listeners The Event Object Types Of Events Cross-browser Events Advanced Dom Techniques Scripting Styles Innertext And Innerhtml Outertext And Outerhtml Ranges Forms And Data Integrity Form Basics Scripting The Element Text Boxes List Boxes And Combo Boxes Creating An Autosuggest Text Box Sorting Tables The Starting Point - Arrays Sorting A One-column Table Sorting A Multicolumn Table Drag And Drop System Drag And Drop Simulated Drag And Drop Zdragdrop Error Handling The Importance Of Error Handling Errors Versus Exceptions Error Reporting Handling Errors Debugging Techniques Debuggers Xml In Javascript Xml Dom Support In Browsers Xpath Support In Browsers Xslt Support In Browsers Client-server Communication Java Cookies Hidden Frames Http Requests Liveconnect Requests Intelligent Http Requests Practical Uses Web Services A Quick Web Service Primer Web Services In Internet Explorer Web Services In Mozilla A Cross-browser Approach Interacting With Plugins Why Use Plugins? Popular Plugins Mime Types Embedding Plugins Detecting Plugins Embedding Applets In Java Script Flash Movies Activex Controls Deployment Issues Java Script Security Internationalization Concerns Optimizing Javascript Intellectual Property Issues The Evolution Of Javascript Ecmascript 4 Ecmascript For Xml Java Script Interview Questions Java Script Practice Tests