+ 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.

4th May 2020, 6:51 PM
NARESH KUMAR
NARESH KUMAR - avatar
3 Respuestas
+ 3
It sets the value of the input tag to an ampty string. (clears the input field)
4th May 2020, 6:54 PM
yochanan sheinberger
yochanan sheinberger - avatar
4th May 2020, 7:26 PM
NARESH KUMAR
NARESH KUMAR - avatar
0
ok
7th May 2020, 3:01 PM
yaxog79408@beiop.com