一些时候需要获取className进行判定,但className是JavaScript里的,jQuery如何获取?
这个涉及到之前的一篇文章-jQuery-attr()方法。

示例代码如下:

$('.thisme').attr('cla[......]

阅读全文