Just like any other programming language the conditional statements in Java Script are used for decision making purpose.If a programmer wants to execute certain statements only , when a desired condition is satisfied or have the true value then this conditional statement namely if statement can be used.
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.
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.
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.
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.