看板
[ Ajax ]
討論串[問題] jQuery取變數一問
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
var $elements = $(".myCourse");. $elements.each(function(){. //"this" is a dom , not jQuery context. alert(this.id); //id of current course. //get the
(還有648個字)
內容預覽:
不好意思... 小弟是 jQuery 新手. 想問一個取變數的問題. 我的 html 中若有 n 個 class 為 course 的 div tag. 當中的每個 tag 內 又各自有 數量不等的 class 為 subCourse 的 div tag. 有點像是以下這樣. <div class=
(還有348個字)
首頁
上一頁
1
下一頁
尾頁