学无止境,加油屌丝

js中用$来获取class的,非jquery

 

function $(id){return typeof id === "string" ? document.getElementById(id) : id;}

  

posted @ 2020-12-27 19:31  nofeel666  阅读(298)  评论(0编辑  收藏  举报