document.querySelector("button"); 获取第一个符合条件的

其他用法 var box =document.querySelector(".box");

posted @ 2021-11-01 14:43  六月沉  阅读(322)  评论(0)    收藏  举报