jquery selector selector for class not working(bootpeg)
This question already has an answer here:
The space means the second part is inside the first one (it's called the descendant combinator). Remove it:
$(".textgray.showing").html("some text");
You don't need to put that extra space in between selector. space in selector looks for descendant elements:
$(".textgray.showing").html("some text");
链接地址: http://www.djcxy.com/p/83100.html
上一篇: jQuery选择输入与多个类