为什么以下段落不起作用?
How long is your text? Submit
Quentin.. 5
document.getElementById("input1")为您提供输入元素,而不是字符串.你需要阅读它的value财产.
document.getElementById("input1")
value