Is there any situation where I would have to set the focus on a input text first (document.getElementById( the_input_text ).focus()
)
before I could set the value (document.getElementById( the_input_text ).value= 123
) in order for me to see the value (123) in the input text?
我之所以问,是因为我必须在我正在编写的这一页上这样做,以便让我看到输入文本的价值。