News:

MyKidsDiary.in :: Capture your kids magical moment and create your Online Private Diary for your kids

Main Menu

What can JavaScript do?

Started by VelMurugan, May 21, 2009, 08:29 PM

Previous topic - Next topic

VelMurugan

What can JavaScript do?

Here are a few things you can do with JavaScript:

    * Display information based on the time of the day
      JavaScript can check the computer's clock and pull the appropriate data based on the clock information.

    * Detect the visitor's browser
      JavaScript can be used to detect the visitor's browser, and load another page specifically designed for that browser.

    * Control Browsers
      JavaScript can open pages in customized windows, where you specify if the browser's buttons, menu line, status line or whatever should be present.

    * Validate forms data
      JavaScript can be used to validate form data at the client-side saving both the precious server resources and time.

    * Create Cookies
      JavaScript can store information on the visitor's computer and retrieve it automatically next time the user visits your page.

    * Add interactivity to your website
      JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on a button.

    * Change page contents dynamically
      JavaScript can randomly display content without the involvement of server programs. It can read and change the content of an HTML elements or move them around pages.

This is only a small part of possibilities that JavaScript provides you with. Read WebCheatSheet articles devoted to Javascript to learn how to make exciting, dynamic, easy to update webpages using JavaScript.

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it has been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S post or ALT+P preview