Coding for radio buttons in Javascript

The purpose of the radio buttons is to let the user select one item from a group of items. Radio buttons do not allow the user to select more than one item. There should be at least two radio buttons on a form. Once the user checks on a radio button, he or she cannot uncheck it. Learn how to write code for radio buttons in JavaScript by following the link below:

Coding for radio buttons in Javascript

Using the Date Object

There are many built-in objects in JavaScript, among the most commonly used are Document object, Date object, Text object , Form object , String object, Password object,Location object, Link object , Math object and more.

The date object is used to manipulate and display date and time. The Methods associated with the date object are getDate, getDay, getHours, getMinutes, getSeconds, getYear and more. Each of these methods returns the current time value associated with the method name. For example, getDate will return the current while get minutes will return the current minutes

Read more…….

Creating Cookies in JavaScript

Many companies use cookies in their websites to capture users’ information for marketing purposes , which include personalized advertising. For example, Google employs JavaScript in its famous AdSense advertising program, where publishers can insert generated JavaScript Code in their webpages for displaying advertisements.

To learn how to use JavaScript to create cookies, click on the following link:

http://javascript-tutor.net/index.php/lesson-27-creating-cookies-in-javascript/

 

The onMouseover Event in JavaScript

The onMouseover event occurs when the user drags the mouse over certain elements of a web page, such as a hyperlink. In the following example, when the user drags the mouse over the hyperlink, a popup dialog will appear prompting  he or she to click the OK button. After clicking the OK button, the user will be directed to the particular web page.

Read On…..

The onChange Event in JavaScript

The onChange event occurs when the users alters the input into a form elements, such as a text box. In the following example, we shall show you how this event triggers a pop-up message when the user enters something into a textbox and alter its content. When the user loads the web page that contains the script, a textbox will appear at the top of the web page. When enters something into the textbox, alters it and then click outside the textbook, he will see a pop-up dialog then reads “You have changed the content”

Read More……………….