An Array is used to store a number of values (called as elements) in order with a single variable.
Can be created using javascript array object constructor.
new Array(size)
new Array(element0, element1, ..., elementN)
Often, situations arise when an user should fill a single or more than one fields in a HTML form before they submit it. You can write a JavaScript form validation script to check whether the required field(s) in the HTML form is blank or not.
JavaScript is not a full-blown object oriented programming language, such as Java, but it is designed on a simple object-based model. An object is a construct with properties that contain JavaScript variables or other objects.
The encodeURI is used to encode a Uniform Resource Identifier (URI) by replacing each instance of certain characters by one, two or three escape sequences representing the UTF-8 encoding of the character.
The UTC() method returns the number of milliseconds in a Date object since January 1, 1970, 00:00:00, universal time.
The eval function is used to execute JavaScript source code.
Syntax
A conditional statement is a set of commands and the commands execute if a specified condition is true. There are two conditional statements in JavaScript : if...else and switch.
The splice() method is used to remove old elements and add new elements to an array. It changes the content of the array.
In today's tutorial we are going to work with a Javascript library which allows you to easily deal with money in any web application. This JavaScript file will allow you to create an online application to easily convert from one currency to another using only one function.
Last month, many great jQuery plugins were created and new versions were released too. Now, lets go through some of the most popular plugins in February 2012.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials.
Mind lending a hand?