jQuery獲取h1-h6元素的值

                1、問題背景      查找到h1-h6,並遍歷它們,打印出內容 2、實現源碼 <!DOCTYPE html><html> <head>  <meta charset="utf-8" />  <title>查找標題</title>  <script type="text/javascript" src="js/jquery-2.2.3.js" ></script> 
相關文章
相關標籤/搜索