You should fix the invalid class name...but to query for it as is, escape the .:$("td.sede_co\\.uk") 您可以在此处进行测试.不过,请务必修复该类,因为.在类名中不是有效字符,它将减少麻烦.You can test it here. Please do fix the class though, . isn't a valid character in a class name...it'll cause fewer headaches. 这篇关于jQuery:如何引用其类名带有句点的HTML元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-11 07:44