JavaScript Tutorial

JavaScript Tutorial HTML,JavaScript is integrated with browser & this integration enables the programmer to add dynamic interaction to the text, picture, information on the web page. JavaScript is case sensitive language i.e.; state is different from State or STATE (these are three different words for JavaScript). JavaScript is capable of sensing the events like mousing clicking, mousing moving etc. JavaScript files are directly executed when user double clicks on them or opens them in Browser.

Why JavaScript ?

Html is providing static web pages but with the developments in internet & World Wide Web the interactive communication became a necessity. The World Wide Web is a heap of pages having information in the form of text, graphics, pictures, sounds etc. Every page is linked to another page on web and the linked page …

Why JavaScript ? Read More »

What is JavaScript?

HTML,JavaScript is integrated with browser & this integration enables the programmer to add dynamic interaction to the text, picture, information on the web page. JavaScript is case sensitive language i.e.; state is different from State or STATE (these are three different words for JavaScript). JavaScript is capable of sensing the events like mousing clicking, mousing …

What is JavaScript? Read More »

JavaScript is Java or what?

No, JavaScript is not java. Java is a complex and much more powerful language like C & C++.   While HTML, JavaScript are integrated with browser & this integration enables the programmer to add dynamic interaction to the text, picture, information on the web page. JavaScript is case sensitive language i.e.; state is different from …

JavaScript is Java or what? Read More »

Number In Java Script

The number type deals with digits, It covers both floating point numbers and integers.   Floating point numbers are like – 412.562, 9.2, 0.468   Integer numbers are like : 25, 1258, 968     Initializing number type variables   Var age = 25 Var is javascript keyword, age is a variable name, 25 is …

Number In Java Script Read More »

String In Java Script

String type deals with a single character or a series of characters enclosed with single quotes or double quotes respectively.   Initializing string type variables   var sect = ‘a’ var is JavaScript keyword, sect is a variable name, a is value assigned to sect variable, variable sect is of string type because the value …

String In Java Script Read More »

Boolean In Java Script

Boolean type has only two values true and false. These constant values are case-sensitive.   Initializing Boolean type variables   var present = true var is JavaScript keyword, present is a variable name, true is value assigned to present variable, variable present is of Boolean type  because the value assigned to present is of  boolean …

Boolean In Java Script Read More »

Arrays In Java Script

If we require many variables of  same or different types then a problem of remembering names of variables and many functional  problems will arise. Concept of array allows us to store different data type  data pieces under the same name in an ordered way. It helps  in creating many variables. There is no need of  …

Arrays In Java Script Read More »

Alert Box In Java Script

Alert box is a dialog box which displays a message in a small window with an OK button, user have to click on the ok button to proceed.   Example <html> <head> </head> <body> <script type=”text/JavaScript”> alert(“Hit me to proceed”) document.write(” Have a nice day “); </script > </body> </html>     Understanding the program: …

Alert Box In Java Script Read More »

Arithmetic Operators In Java Script

Arithmetic operators are used in daily life, like adding , subtracting, multiplying , dividing etc. The arithmetic operators are supported by JavaScript are :   Operator Description + Addition – Subtraction * Multiplication / Division % Modulus ++ Increment — Decrement   Example   <html> <head> </head> <body> <script type=”text/javascript”> var a=40; var b = …

Arithmetic Operators In Java Script Read More »

Scroll to Top