This textbook is available atAmazon.com Logo
JavaScript: The Web Warrior Series 6th Edition

JavaScript: The Web Warrior Series (6th Edition)

Book Edition6th Edition
Author(s)Vodnik
ISBN9781305078444
PublisherCengage
SubjectComputer Science
Chapter 6, Using JavaScript with Forms, Short Quiz, Exercise 1
Page 369

Describe two common uses of JavaScript with forms.

Explanation

JavaScript enables web designers to develop user-friendly web forms. The values input by the users are validated before it is submitted to the backend which improves the performance of the web application. It allows for checking the correctness of data entered in a field immediately after the user switches to the next field so that the user will not get frustrated to see a list of error messages getting displayed after he fills in the complete web form.

Verified Answer

Helps users to fill-out forms easily by displaying informative messages.

Validate the data before submitting it to server

How would you rate this answer and explanation?
Did you like this example?
Subscribe for full access
Page 369