【示例】 预览效果 源代码 在模拟器中预览 JS window.onload = function(){ document.getElementById("banAutocomplete").setAttribute("autocomplete", "off");//设置属性 }; 下载源代码