JS-input-设置值

<pre class="lang:js decode:true " >document.getElementById("dbhost").value = "localhost";