获得子节点方式:

1.将文本内容也当成节点

childNodes

firstChild

lastChild

2.获得标签为内容的节点

children

firstElementChild

lastElementChild

最新文章

  1. CSS 日常问题总结
  2. 我的Windows软件清单
  3. 【BZOJ 4518】【SDOI 2016 Round1 Day2 T3】征途
  4. 一整套WordPress模板制作的教程
  5. adb failed to start daemon 的解决办法
  6. 黄聪:jquery mobile使用form进行post提交表单没有反应,显示空白页解决方案
  7. buffer busy wait在RAC环境下出现
  8. Linux shell 获取当前时间之前N天
  9. Android 读取SIM卡参数
  10. JS常用验证方法
  11. mysql sql执行顺序
  12. Unity SurfaceShader 开始编程
  13. APP崩溃提示:This application is modifying the autolayout engine from a background thread after the engine was accessed from the main thread. This can lead to engine corruption and weird crashes.
  14. Storm入门(八)Storm实战常见问题总结(持续更新)
  15. 密码疑云 (3)——详解RSA的加密与解密
  16. excel计算时间差值
  17. crontab误删除
  18. wap尝试调取app(网易新闻为例)
  19. iOS开发 常见错误
  20. 解题:HNOI 2008 玩具装箱

热门文章

  1. MAMP 访问时显示文件列表
  2. 通过脚本实现将服务器的Log实时传送到Telegram群组
  3. 关于BFC的一些事
  4. 更改mac电脑图片默认存储位置
  5. Spring系列__04AOP
  6. Java 教程(开发环境配置+基础语法)
  7. WebDriver 将浏览器窗口最大化
  8. 字符串之————三向字符串快速排序(Quick3string)
  9. 如何编写出高质量的 equals 和 hashcode 方法?
  10. java、if判断和循环