Login 
Password
  
 


JavaScript Cert. Exam
Test your skills with our JavaScript certification exam and see how you stack up right now.

Homepage
Visit our homepage and find out more about what NCSA can do for you.

Introduction to JavaScript
Using JavaScript on your Webpage
A Simple JavaScript Application
Variables & Operators
Variables
Operators
Loops & Conditionals
Loops
Conditionals
Document Object Model
Nodes
Functions & Methods
Built-in Functions
User Defined Functions
Forms & Events
Forms
Events
Browsers
Cookies
Image Maps
Timing Events

Learn More About Us
Find out more about how our certifications can benefit you.

Course Descriptions
View a complete listing of certifications available through NCSA.

Employer Programs
Visit our employer programs page and discover the options available to connect you with our customers.

Certificate Database
Lookup a certification in our online database.

Affiliate Program
Make money by helping people get the computer training and certification they need. Sign-up Here!

Support Center
If you have questions or concerns feel free to visit our online support center.


 

JavaScript Events


JavaScript forms mostly rely on events that occur on the form due to user intervention. Events can be related to mouse, keyboard, or web page such as onClick, onLoad, onFocus, ondblclick, or onSubmit. The specific event handlers are associated with the events and invoke the actions associated with the events. Event is the most important feature of JavaScript because without events there will be no actions, no event handlers, and therefore no code. Some important events are:

 

·        onLoad and onUnload: These events are related to the web page and occur when the user enters and leaves the page respectively. The onLoad event can be used to check the browser type and browser version used by the user and get or set cookies on the user’s computer. The browser check allows you to load the proper version of the web page and cookies allow you to greet the users by their names.

 

·        onFocus, onBlur and onChange: These events allow you to handle the webpage while the input fields validation. All these events are mostly used in conjunction with each other. The onFocus event allows you to keep the cursor on the field till the value is provided in it. The onBlur event occurs when the focus is lost from a field and the onChange event occurs when the value of a field is changed.

 

·        onSubmit: This event is the most important event and each form has this event. It is actually used to validate all form fields before submitting it. If the input values are correct then the form is finally submitted.

 

·        onMouseOver and onMouseOut: These events are used to create "animated" buttons. An alert box can be displayed when an onMouseOver event is detected.

 


NCSA OnDemand Training Courses



Web-based Training Courses, including 7,500+ Videos & Articles, covering:

Microsoft Office
2003 | 2007
Microsoft Windows
Vista
Visio
2003 / 2007
OneNote
2003 / 2007
Project
2003 | 2007
Sharepoint
3.0
Access
2003 | 2007
Excel
2003 | 2007
Outlook
2003 | 2007
PowerPoint
2003 | 2007
Word
2003 | 2007
Office for Mac
2008
Excel for Mac
2008
Entourage for Mac
2008
PowerPoint for Mac
2008
Word for Mac
2008

Acrobat 8 Professional ADO.NET 2.0 ASP.NET 2.0 for Visual Basic 2005
C# 2005 Crystal Reports XI Exchange Server 2003
Flash 8 ActionScripting Flash 8 for Designer FrontPage 2003
Mind Manager 7 Pro + Project 2007 Mind Manager 7 Pro Fundamentals Office 2007 - What's New
Photoshop CS2 PHP Programming QuickBooks Pro 2006
SharePoint End User: Administrator SharePoint End User: Contributor SharePoint End User: Reader
Small Business Server 2003 SQL Server 2005 Visual Basic 2005
Windows Server 2003

Order NCSA OnDemand today and get access to over 7500 quality instuctor led videos and training courses covering today's most popular software programs and programming languages.

OnDemand Monthly - $25/month
No long term commitment.
Annual Member - $159/year
Save 50%off monthly price.
Premium - $249/year
Includes NCSA certifications


    

  
HOME    PRIVACY    EMPLOYERS    CERTIFICATION LIST    AFFILIATES    CONTACT US

© 2002-2010 National Computer Science Academy, All Rights Reserved.