小技

<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:

posted @ 2015-02-06 14:34  塔斯曼  阅读(216)  评论(0编辑  收藏  举报