Computer Science, asked by akhilasrilakshmi573, 3 months ago


Will reset() clear the contents of form elements? True or false
(A) Yes, it is equivalent to erasing the inputs given by the user.
(B) No, it resets the form elements to its default values.

Answers

Answered by aishwaryarock55
20

Answer:

(B) No

Explanation:

Answered by anusha195sl
0

Answer:

The reset() will not  clear the contents of form elements is True.

Explanation:

  • A Javascript is defined as a function that will use the blocks of the code that is designed to perform the tasks.
  • It is known as Javascript because it was derived from Netscape using the support of java applets along with the browsers.

Features of the Javascript:

1) It is known as a execution of the client side on the web browser.

2) It is a interpreted programming language which similar to programming languages such as python and Ruby.

3) It helps in enabling to handle the events in the system that it communicates about the occurrence when the user clicks a button and it responds with customizing of the events.

4) It is case sensitive language because it only accepts capital letters.

  • The reset ( ) method in Javascript is used for clearing all the values entered in the form elements.
  • The syntax for reset is:

  formElement.reset( )

This syntax helps in setting the values to default. There it helps in resetting the data and again helps in restoring back all the data entered before.

#SPJ3

Similar questions