<script type="text/javascript">
function notice() {
document.getElementById(arguments[0]).style.display = arguments[1];
}
</script>
<tr>
  <td>MySQL服务器地址</td>
  <td>
  <input name="host" type="text" onfocus="notice('1','')"  onblur="notice('1','none')" value="localhost"/>
  <td><div id="1" class="notice" style="display:none;">一般都为localhost,即服务器的地址 </div>
</tr>