List of Topics

SfC Home > Education or Training > eLearning >


Web-Based Training Using JavaScript

by Ron Kurtus (revised 11 June 1997)

One popular method for creating the interactivity necessary to teach, maintain interest and test users of Web-Based Training (WBT) is to use the JavaScript language.

Questions you may have include:

This lesson will answer those questions.

CBT programs with web plug-ins

Standard CBT development programs like Macromedia’s Authorware and Asymetrix’s Toolbook have browser plug-ins that allow their CBT applications to be used on the web. Unfortunately, not only must the user have the plug-in installed, but the time it takes for pages to download is often excessive. There must be an easier way to present class content that does not strain the users’ capability to view the material.

Using JavaScript a simple solution

One solution for web-based training (WBT) is to use JavaScript to code the HTML pages and allow for some of the training interaction capabilities desired.

The advantage of JavaScript is that over 90% of all web users have browsers that can read and interpret the language. It is also very fast and does not require any plug-in or such.

Methods to verify knowledge

Methods to teach besides explanations and illustrations and the verification of knowledge that can be used in a WBT using JavaScript include:

Feedback as to whether or not the answer is correct can be shown as an alert box or an indication shown on the browser status bar. The student’s score can also be tabulated.

Example of multiple choice

1. Why would you use JavaScript for WBT?

Sending data to the teacher

A copy of the test can be sent directly to the teacher via an e-mail submit button, provided the student has an e-mail account through the school or internet provider. A better way to get the test is through Common Gateway Interface (CGI), but that is not easy to program.


Using JavaScript is a definite solution to the problem of providing web-based training. Examples of this technique will be posted in this web site very soon.

Continually improve what you do

Resources and references

Ron Kurtus' Credentials


eLearning Resources


(Notice: The School for Champions may earn commissions from book purchases)

Top-rated books on eLearning

Questions and comments

Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. I will try to get back to you as soon as possible.

Share this page

Click on a button to bookmark or share this page through Twitter, Facebook, email, or other services:


Students and researchers

The Web address of this page is:

Please include it as a link on your website or as a reference in your report, document, or thesis.

Copyright © Restrictions

Where are you now?

School for Champions

eLearning topics

Web-Based Training Using JavaScript

eLearning topics

Improving Business

Developing eLearning Material

Developing WBT

Also see

Let's make the world a better place

Be the best that you can be.

Use your knowledge and skills to help others succeed.

Don't be wasteful; protect our environment.

You CAN influence the world.

Live Your Life as a Champion:

Take care of your health

Seek knowledge and gain skills

Do excellent work

Be valuable to others

Have utmost character

Be a Champion!

The School for Champions helps you become the type of person who can be called a Champion.