js 自定义 $ 选择器 var $= function (id) { return "string" == typeof id ? document.getElementById(id) : id; };