David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the correct option(s) that he can't be done with client-side JavaScript?
Select one:
Display the alert box to the user
Validate a form
Store the form's contents to a database file on the server
Send a form's contents by email if
Answers
Answered by
24
option C
store the forms contents to a database file on the server
Answered by
0
Answer:
Store the form's contents to a database file on the server
Explanation:
- Client-side operations and triggers are run in the browser on the client machine and are implemented in JavaScript. They are executed by the browser when they are invoked from the server.
- Interaction with HTML forms is one of the important aspect of client-side JavaScript .
- JavaScript has an obvious advantage over server-based scripts for applications like : JavaScript code is executed on the client side, so there is no need to send the form’s contents to the server. Hence, relatively simple computations can be performed.
- Another common use of client-side JavaScript with forms is for validating form data before submission. If client-side JavaScript is able to perform all necessary error checking of a user’s input, no round trip to the server is required to detect and inform the user of trivial input errors.
- The alert() method in JavaScript displays a virtual alert box. to give a warning message to the users.
Similar questions