What is innerHTML on input elements?
问题 I\'m just trying to do this from the chrome console on Wikipedia. I\'m placing my cursor in the search bar and then trying to do document.activeElement.innerHTML += \"some text\" but it doesn\'t work. I googled around and looked at the other properties and attributes and couldn\'t figure out what I was doing wrong. The activeElement selector works fine, it is selecting the correct element. Edit : I just found that it\'s the value property. So I\'d like to change what I\'m asking. Why doesn\'t