The School for Champions is an educational website that shows you how to achieve your dreams.
![]() |
|
|
Explanation of how to use JavaScript alert buttons in developing web based training (WBT). Also refer to Computer-Based Training, CBT, Intranet-Based Training, IBT, plug-ins, ASTD, STC, Ron Kurtus, School for Champions. Copyright © Restrictions WBT Using JavaScript Alert Buttonsby Ron Kurtus (12 July 1998) Multiple-choice questions are often used in Computer-Based Training (CBT) to test or verify a learner's knowledge, as well as to keep the person's interest in the lesson. The advantage of such questions in CBT is that the student can immediately get feedback as to whether the answer was correct and/or what the correct answer is. A simple way to do this in Web-Based Training (WBT) or Intranet-Based Training (IBT) is to use the alert button feature of JavaScript. This lesson will show examples of using the alert button and provide the JavaScript code. Check if JavaScript is AvailableWhile most browsers these days can read JavaScript, there still are people with old browsers that can't use this feature. Also, some people may have the function turned off in their browser. You can use an alert button to let your students check if your multiple choice will work properly with their browsers. Example of Multiple Choice QuizThe following multi-choice question is an example of using alert buttons to let the learner know whether the answer was right or wrong, as well as to give some information about the answer. Unfortunately, this simple method does not let the instructor know how well the student is doing. Rather, it is primarily intended to help the student's learning experience. 1. Why would you use JavaScript for WBT? JavaScript CodeThe following code was used for this example. <HEAD>The code placed under the HTML <HEAD> consists of the comments for the various alert windows that pop up after the given button was clicked.
<BODY>The code for the multiple choice is placed under the <BODY> section, in the area you want the question.
SummaryUsing alert buttons with JavaScript is a useful tool in providing web-based training, although it has its limitations. Teach others ResourcesThe following are resources on this subject. WebsitesBooksMiscellaneousMini-quiz to check your understanding1. Why is classroom training considered part of eLearning? 2. What disadvantage is there to self-paced eLearning? 3. Why would you have a classroom session in blended sales training? If you got all three correct, you are on your way to becoming a champion in eLearning development. If you had problems, you had better look over the material again. What do you think?Do you have any questions, comments, or opinions on this subject? If so, send an email with your feedback. We will try to get back to you as soon as possible. Share linkFeel free to establish a link from your website to pages in this site. Or use our form to send this link to yourself or a friend. Students and researchersThe Web address of this page is Where can you go from here?
|
The School for Champions helps you become the type of person that can be can be called a Champion.