首页 > 编程知识 正文

jquery元素位置index,javascript删除元素

时间:2023-05-04 19:31:12 阅读:22317 作者:3059

! doctypehtmlhtmllang=' en ' headmetacharset=' utf-8 ' title document/title/headbodydivclass=' box ' p第一选择/pp第二选择p.innerHTML='最新选项'; box.parentnode.insertbefore(p,box ); //box前有元素//box.parent node.insertbefore (p,box.nextSibling ); 在//box之后添加元素/script/body/html

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。