single code from jquery | Sololearn: Learn to code for FREE!

+5

single code from jquery

could anyone tell me the use of this line in js. $("input").val(""); this was a part of creating a to-do list.

5/4/2020 6:51:15 PM

NARESH

3 Answers

New Answer

+3

It sets the value of the input tag to an ampty string. (clears the input field)

+3

yochanan sheinberger thanks

0