PageSourceSearch

https://www.hoidaubepaau.com/wp-content/litespeed/js/c2b8c6e61b9ce9a2d014a3a2fce518d0.js?ver=ad84e

js hoidaubepaau.com collected 2026-10-08 10:29:07 UTC 2,036 bytes, 6 lines download raw bytes

1var SmFormModel=function(form_id){var $=jQuery;var self=this;self.action="/wp-admin/admin-ajax.php?action=smform_";self.form=$("#smform-"+form_id+" form");self.form.submit(function(event){event.preventDefault();self.form.find(".smform_submit").hide();self.form.find(".smform_loading").show();$.ajax({url:self.action+"submit_form",type:"post",dataType:"json",data:self.form.serialize(),success:function(data){self.form.find(".smform_submit").show();self.form.find(".smform_loading").hide();if(data.rs){self.form.find(".smform_fields").hide();self.form.find(".smform-thank").show();if(data.redirect){window.location.href=data.redirect}}else{alert(data.msg)}},})});function initSelect2(){if(typeof $.fn.select2!=="undefined"){self.form.find(".smform-major, .smform-course, .smform-city").each(function(){$(this).select2({width:"100%",language:{noResults:function(){return"Không tìm thấy kết quả"},},})})}}
2setTimeout(initSelect2,100);self.form.find(".smform-major").change(function(){var course=self.form.find(".smform-course");course.hide();course.find("option").each(function(i,item){if(i){$(item).remove()}});self.form.find(".smform_course_loading").show();$.getJSON(self.action+"get_courses",{cat:$(this).val()},function(data){course.show();self.form.find(".smform_course_loading").hide();data.courses.forEach(function(item){course.append($("<option/>",{value:item.code+"-"+item.name,text:item.name,}),)});if(typeof $.fn.select2!=="undefined"){course.trigger("change.select2")}},)});self.form.find("[name='LandingPage']").val(window.location.href);function getDeviceType(){var ua=navigator.userAgent;if(/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(ua)){return"Tablet"}
3if(/Mobile|Android|iP(hone|od)|IEMobile|BlackBerry/i.test(ua)){return"Mobile"}
4return"Desktop"}
5self.form.find("[name='Platform'], #Platform").val(getDeviceType());self.form.find(".smform-questionwant, #questionWant").change(function(){if($(this).val()=="Có"){self.form.find(".course-want").show()}else{self.form.find(".course-want").hide()}})}
6;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.