jQuery里 怎么获取 class 的类名

最好使用 prop,不用 attr
$("#div123").prop("className");
posted @ 2016-11-09 10:50  〃陌生丶人  阅读(42269)  评论(0编辑  收藏  举报