input中autocomplete属性 autocomplete="off":表示刷新页面时,input中的value值清空 <input type="text" id="q" autocomplete="off">