小技

<1>: <input type="password" id="pin" name="pin" />の場合

function clearPwd(){ document.getElementById("pin").value="";

//document.getElementById("pin”).innertext="";  だめ }

<2>: Web Inspector

<3>:Xcode—>preference—>text editing—>automatic indent for:

原文地址:https://www.cnblogs.com/vonk/p/4277096.html