🌈 搜索
📅  最后修改于: 2022-03-11 14:47:54.408000             🧑  作者: Mango
if ($(".mydivclass")[0]){ // Do something if class exists } else { // Do something if class does not exist }