In this Java Script tutorial you will learn about Introduction to Java Script, Origin of Java Script, Need of Java Script, Differences between Java and Java Script and Uses or Advantages of Java Script.Java Script was developed by Netscape by a person named as Brendan Eich. Though it was introduced as a client0side scripting languge and is most geenrally used like that there is no restriction for one using it in server side also. The original name that Java script had when it was intrduced was Livescript.
In continuation of the previous section let use see the remaining conditional statements in Java Script in this section.If there are many branching r conditions to be decided based on which actions must be executed then the programmer can go for if...else if....else statement.
In this JavaScript – Part I Tutorial you will learn about Array Definition, Defining an Array in JavaScript, Shorter form, Literal Array, Accessing the elements in an array, Editing the values or elements in an array, Single Dimensional Array in JavaScript
The array concept is used to store a set of values in a single variable name. So this is a very important concept in any programming language, Let us see how to define and handle arrays in JavaScript in this session.
We saw in previous sections the String and Date Objects of Java Script. Now in this section let us see another object of Java Script mentioned earlier in our sections namely the Math Object.
We saw in previous section the String Object of Java Script. Now in this section let us see another object of Java Script mentioned earlier in our sections namely the Date Object.
AJAX (Asynchronous JavaScript and XML) is a JavaScript technique which involves special object XMLHttpRequest and sending/receive asynchronous (without full page reload) requests to server. This is an example of simple AJAX application which allows user to enter web-page url and display title of that page right after user stops typing.
Just like any programming language the variables in Java Script are also used to store values. The value of the variable can be edited as required by the programmer.Some of the rules for forming variable names are as follows: Variable names are case sensitive.They must begin with a letter or the underscore character.Having seen about the simple rules for framing variables names now let us see how to declare a variable name.
Having got a brief introduction about Java Script in the previous chapter let us see the features of Java Script in this section.While designing using HTML the persons doing the designing using HTML need to be a good designer and would generally, need not be a good programmer. So in such situation the Java Script acts as a programming tool and is a powerful scripting language and helps the HTML designers to design the website or webpage effectively and interactively in a very simple and efficient way.
There are actually three types of popup boxes that can be created using Java Script. As per the needs of the user the programmers creates any of these types of popup box using Java Script.The three kinds of popup boxes that can be created using Java Script are namely.
As we have seen in earlier section String object is a widely used object in Java Script. Let us see in this section what the String Object is used for, how to use that in Java Script, some of the methods used in String Object in brief.