is there a way to update the values of the tags from the same type with one statement?

前端 未结 0 879
无人共我
无人共我 2021-01-30 05:25

is there a way to do something like document.getElementsByTagName("input")[0-4].value = "";

instead of using for loop?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题