5910 Breckenridge Pkwy Suite B, Tampa, FL. 33610
(800) 272-0707

SkillSoft Explore Course

Aspire     Web Programmer to Apprentice Programmer     Apprentice Programmer Track 1: Web Programmer

Form validation is a common use case for Javascript. Learners will explore basic steps involved in this process, including an overview of asynchronous programming and the use of promises to handle such code, in this 10-video course. Key concepts covered here include how to define simple registration forms with text, numerical input fields, radio buttons, check boxes and drop-down menu; how to access individual form elements and their data contents from Javascript; and learning when variables are destroyed by Javascript when a form submission navigates users to a different web page. Begin by observing a variety of form validations for different input fields; learning operations which run asynchronously in your Javascript application; and learning how to use promises to chain the execution of two functions where one depends on the results returned by the other. Next, learn a function making multiple asynchronous function calls by using async/await syntax. Finally, observe how to use the fetch function to asynchronously retrieve an image file and relate it to the XMLHttpRequest of AJAX.



Objectives

JavaScript: Form Validation & Async Programming in JavaScript

  • discover the key concepts covered in this course
  • define a simple registration form with text, numerical input fields, radio buttons, check boxes and a drop-down menu
  • access individual form elements and their data contents from JavaScript
  • recognize when variables are destroyed by JavaScript when a form submission navigates the user to a different web page
  • define a variety of form validations for different input fields
  • identify operations which run asynchronously in your JavaScript application
  • use promises to chain the execution of two functions where one depends on the results returned by the other
  • define a function making multiple asynchronous function calls using the async/await syntax
  • use the fetch function to asynchronously retrieve an image file and relate it to the XMLHttpRequest of AJAX
  • summarize the key concepts covered in this course