Mark Forums Read
  #1  
Old 11-28-2005, 04:01 PM
Simon Simon is offline
Junior Member
 
Join Date: Nov 2005
Posts: 19
Simon is on a distinguished road
Thumbs up What can a JavaScript Do?

  • JavaScript gives HTML designers a programming tool - HTML authors are normally not programmers, but JavaScript is a scripting language with a very simple syntax! Almost anyone can put small "snippets" of code into their HTML pages
  • JavaScript can put dynamic text into an HTML page - A JavaScript statement like this: document.write("<h1>" + name + "</h1>") can write a variable text into an HTML page
  • JavaScript can react to events - A JavaScript can be set to execute when something happens, like when a page has finished loading or when a user clicks on an HTML element
  • JavaScript can read and write HTML elements - A JavaScript can read and change the content of an HTML element
  • JavaScript can be used to validate data - A JavaScript can be used to validate form data before it is submitted to a server, this will save the server from extra processing
  • JavaScript can be used to detect the visitor's browser - A JavaScript can be used to detect the visitor's browser, and - depending on the browser - load another page specifically designed for that browser
  • JavaScript can be used to create cookies - A JavaScript can be used to store and retrieve information on the visitor's computer
__________________
Best Of The Best
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
  #2  
Old 01-09-2009, 06:18 AM
ajit22 ajit22 is offline
Member
 
Join Date: Jan 2009
Posts: 54
ajit22 is on a distinguished road
Default

It is good information.
__________________
New York Web design
Website design

Reply With Quote
  #3  
Old 06-19-2009, 12:32 PM
gkumar gkumar is offline
Senior Member
 
Join Date: Jun 2009
Posts: 203
gkumar is on a distinguished road
Default What can a 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.
Reply With Quote
  #4  
Old 02-05-2010, 01:01 PM
tom4487 tom4487 is offline
Junior Member
 
Join Date: Feb 2010
Posts: 1
tom4487 is on a distinguished road
Default

* Multipart documents with frames
o Reloading Part of the Window
o Creating Interactive Documents
* More control over user interaction
* Documents with memory
* Live documents
o Scrolling Messages
o Clocks
o Countdown Timers
o Self-Updating Documents


Thanks
__________________
RapidSSL
Wildcard Certificate
Reply With Quote
 #Add to Ads's Reputation  
OldSponsored Ads
Ads AdsPromoter is online
Member
 
Join Date: LongTime
Posts: 1100
Ads is on a distinguished road
Default New Sponsored Ads



This message will go away once you are registered. Also, by registering, you will have access to all post topics, communicate privately with other members (PM), respond to polls, upload graphics, and access other special features! Registration is fast, simple and absolutely free so please Click Here to join our Web Hosting community today!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 11:23 AM.


Powered by vBulletin Version 3.6.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 2.4.0