PageSourceSearch

https://www.acg.edu/wp-content/plugins/ultimate-wp-query-search-filter/classes/scripts/uwpqsfscript.js?ver=1.0

js acg.edu collected 2026-10-01 11:43:16 UTC 2,447 bytes, 77 lines download raw bytes

1jQuery(document).ready(function($) {
2	
3		$('body').on('click','.usearchbtn', function(e) {
4			process_data($(this));
5			return false;
6		});
7	
8		$('body').on('click','.upagievent', function(e) {
9			var pagenumber =  $(this).attr('id');
10			var formid = $('#curuform').val();
11			upagi_ajax(pagenumber, formid);
12			return false;
13		});
14
15		$('body').on('keypress','.uwpqsftext',function(e) {
16		  if(e.keyCode == 13){
17                e.preventDefault();
18                var form = $(this).parent().parent().attr('id');
19                if (!form) {
20                    id = $(this);
21                }else{
22                    var id = $('#'+form); 
23                }
24                process_data(id);		   
25		  }
26		});
27		
28		window.process_data = function ($obj) {
29			var ajxdiv = $obj.closest("form").find("#uajaxdiv").val();	
30			var res = {loader:$('<div />',{'class':'umloading'}),container : $(''+ajxdiv+'')};
31            var formid = $obj.parent().parent().attr('id'); console.log(formid);
32			var getdata = $obj.closest("form").serialize();
33			var pagenum = '1';
34		
35			jQuery.ajax({
36				 type: 'POST',	 
37				 url: ajax.url,
38				 data: ({action : 'uwpqsf_ajax',getdata:getdata, pagenum:pagenum }),
39				 beforeSend:function() {$(''+ajxdiv+'').empty();res.container.append(res.loader);$obj.closest("form").find('input, textarea, button, select').attr("disabled", true);},
40				 success: function(html) {
41					res.container.find(res.loader).remove();
42				  $(''+ajxdiv+'').html(html);
43				  $obj.closest("form").find('input, textarea, button, select').attr("disabled", false);
44				
45				 }
46				 });
47			
48		}	
49		
50		window.upagi_ajax = function (pagenum, formid) {
51			var ajxdiv = $(''+formid+'').find("#uajaxdiv").val();	
52			var res = {loader:$('<div />',{'class':'umloading'}),container : $(''+ajxdiv+'')};
53			var getdata = $(''+formid+'').serialize();
54		
55			jQuery.ajax({
56				 type: 'POST',	 
57				 url: ajax.url,
58				 data: ({action : 'uwpqsf_ajax',getdata:getdata, pagenum:pagenum }),
59				 beforeSend:function() {$(''+ajxdiv+'').empty(); res.container.append(res.loader);},
60				 success: function(html) {
61				  res.container.find(res.loader).remove();
62				  $(''+ajxdiv+'').html(html);
63				
64				//res.container.find(res.loader).remove();
65				 }
66				 });
67		}
68		
69	 $('body').on('click', '.chktaxoall, .chkcmfall',function () {
70		
71	    $(this).closest('.togglecheck').find('input:checkbox').prop('checked', this.checked);
72		
73         });
74
75
76
77});//end of script

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.