jQuery选择器里有两个类名是什么意思

2025-05-14 14:53:47
推荐回答(1个)
回答1:

比如JQ代码

$(".test,.info")

则代表,选中Class为test以及info的Dom


1


2

上面这两个Div就符合上诉的JQ选择器

相关问答
最新问答