js 获取td 中的class

js 获取td 中的class

最快捷的方式还是使用jquery,通过$("td .blue")就可以拿到class为blue的所有td了,而要拿到所有td里面的值,可以这样:vararr=$("td .blue")var va
JavaScript110