ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/js/ |
Upload File : |
// popup function terms_pop(a) { $('#tomoModal').addClass('workTomoModal'); // event.preventDefault(); $("body").addClass("hidden") $(".terms_popup_wrap").removeClass("show") $(".terms_popup_wrap.terms" + a).addClass("show") } $(".popup_close").click(function () { $("body").removeClass("hidden") $('#tomoModal').removeClass('workTomoModal'); $(".terms_popup_wrap").removeClass("show") }); // checkbox $("#checkAll").click(function () { if ($("#checkAll").is(":checked")) { $("input[name=checkTerms]").prop("checked", true) } else { $("input[name=checkTerms]").prop("checked", false) }; }); $("input[name=checkTerms]").click(function () { let total = $("input[name=checkTerms]").length; let checked = $("input[name=checkTerms]:checked").length; if (total != checked) { $("#checkAll").prop("checked", false) } else { $("#checkAll").prop("checked", true) }; });