看清楚,不是要类选择器取得value!
JS , Jquery 都行
回复讨论(解决方案)
$.each($('tr td'),function(){ if($(this).text()=="天天向上") { alert($(this).attr("class")) }})
$.each($('tr td'),function(){ if($(this).text()=="天天向上") { alert($(this).attr("class")) }}) 谢谢大牛,刚才开会去了.
| 天天向上 | 好好学习 |
| 天天向上 | 好好学习 |
没分了...











