Jquery对类的操作

2022-12-01,

Jquery对类的基本操作

 $("#Div_BillSon div").on('click', function (e) {

            $("#Div_BillSon").children(".billson_active").removeClass("billson_active").addClass("billson_noactive");
$(this).removeClass("billson_noactive").addClass("billson_active");
DisplayPart();
});
function DisplayPart() {
if ($("#dSearch").hasClass("billson_active")) {
$("#serachPart").show();
$("#uploadPart").hide();
}
else {
$("#serachPart").hide();
$("#uploadPart").show();
}
}

Jquery对类的操作的相关教程结束。

《Jquery对类的操作.doc》

下载本文的Word格式文档,以方便收藏与打印。