Javascript Using the document.getElementsByName Method Javascript Using the document.getElementsByName Method

This method takes in as argument the  name  attribute value of elements to be retrieved and returns a collection of desired matching ele...

Read more »
10:41 PM

Javascript Other Cross-browser ways of accessing form element objects Javascript Other Cross-browser ways of accessing form element objects

There are two other cross-browser ways of accessing form elements:  document.getElementsByTagName  and document.getElementsByName . US...

Read more »
10:40 PM

Javascript Checking for getElementById support Javascript Checking for getElementById support

All modern browsers support getElementById() method. However if you are to support very old browsers, use the following function: funct...

Read more »
10:38 PM

Javascript access and validation the form and input elements Javascript access and validation the form and input elements

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Demo: Using g...

Read more »
10:37 PM

Accessing Form Elements using getElementById Accessing Form Elements using getElementById

In order to access the  form element, we can use the method getElementById() like this: var name_element = document.getElementById('...

Read more »
10:35 PM

Use getElementById to get the elements in a form Use getElementById to get the elements in a form

There are many ways of accessing form elements, of which the easiest is by using the cross-browser W3C DOM  document.getElementById()  m...

Read more »
10:32 PM

JavaScript Date and Time Object JavaScript Date and Time Object

The Date object is useful when you want to display a date or use a timestamp in some sort of calculation. In Java, you can either make...

Read more »
10:27 PM

JavaScript Popups JavaScript Popups

However, we will show you how to make windows popup for reasonable occasions, like when you want to display extra information, or when y...

Read more »
10:24 PM

JavaScript Time Delay JavaScript Time Delay

Implementing a timed delay in JavaScript is useful in the following situations: Showing an “Update your bookmark” page when you have t...

Read more »
10:23 PM

JavaScript Window.Location JavaScript Window.Location

Control over what page is loaded into the browser rests in the JavaScript property  window.location . By setting  window.location  equal...

Read more »
10:22 PM

JavaScript Print Function JavaScript Print Function

The JavaScript print function performs the same operation as the print option that you see at the top of your browser window or in your ...

Read more »
10:21 PM

JavaScript Alert Prompt and Confirm function JavaScript Alert Prompt and Confirm function

JAVASCRIPT ALERT EXAMPLE 1: </strong> <HTML> <HEAD> <TITLE>Using alert Boxes</TITLE> <SCRIPT LANGU...

Read more »
10:20 PM

JavaScript Array JavaScript Array

Array Constructors: var variable =  new  Array() var variable =  new  Array( int ) var variable =  new  Array(arg1, ..., argN) ...

Read more »
10:17 PM
 
Top
Blogger Template