PageSourceSearch

https://shingakunet.com/js/jquery.historyPc.js?20151027101432

js shingakunet.com collected 2026-09-24 09:36:38 UTC 3,857 bytes, 148 lines download raw bytes

1var GetHistoryList = function(elm, url, id){
2	if(window == this || !this.init){
3		return new GetHistoryList(elm, url , id);
4	}
5	return this.init(elm, url, id);
6};
7
8GetHistoryList.prototype.init = function( elm, url, id){
9	this.elm = elm;
10	this.url = url;
11	this.id = id;
12};
13
14GetHistoryList.prototype.load = function(){
15	var elm = this.elm;
16	$.ajax({
17		url: this.url,
18		type: "post",
19		cache: false,
20		data: {
21			"id": this.id
22		},
23		success: function(html){
24			$('#' + elm).empty().append(html);
25			EventHandler.bind('#' + elm);
26		}
27	});
28};
29
30var GetHistorySubtopList = function(elm, url, resultNum, id){
31	if(window == this || !this.init){
32		return new GetHistorySubtopList(elm, url , resultNum , id);
33	}
34	return this.init(elm, url, resultNum , id);
35};
36
37GetHistorySubtopList.prototype.init = function( elm, url, resultNum, id){
38	this.elm = elm;
39	this.url = url;
40	this.resultNum = resultNum;
41	this.id = id;
42};
43
44GetHistorySubtopList.prototype.load = function(){
45	var elm = this.elm;
46	$.ajax({
47		url: this.url,
48		type: "post",
49		cache: false,
50		data: {
51			"resultNum": this.resultNum,
52			"id": this.id
53		},
54		success: function(html){
55			$('#' + elm).empty().append(html);
56			EventHandler.bind('#' + elm);
57		}
58	});
59};
60
61function sendCheckBox(siryoFlg,contextPath){
62	var address = "";
63	var param = "";
64	var checkBoxs = null;
65
66	checkBoxs = document.validateForm.selectedGakkoCd;
67
68	// パンフ
69	if (siryoFlg == 1){
70		for (var i = 0; i < checkBoxs.length; i++) {
71			if (checkBoxs[i].checked){
72				var panfuAriFlag = "#panfuAriFlag_"+checkBoxs[i].value;
73				if( 0 == $(panfuAriFlag).val() ) {
74					alert("パンフ請求不可校が含まれています");
75					return;
76				}
77				param += "gakkoCd="+checkBoxs[i].value+"&";
78			}
79		}
80		address = contextPath + "?seikyuShubetsu=0&shiryoShubetsu=01&pCd=TP0000000001&yuryoDispFlag=1&";
81
82	// 願書
83	}else if (siryoFlg == 2){
84		for (var i = 0; i < checkBoxs.length; i++) {
85			if (checkBoxs[i].checked){
86				var ganshoAriFlag = "#ganshoAriFlag_"+checkBoxs[i].value;
87				if ( 0 == $(ganshoAriFlag).val() ) {
88					alert("願書請求不可校が含まれています");
89					return;
90				}
91				param += "gakkoCd="+checkBoxs[i].value+"&";
92			}
93		}
94		address = contextPath + "?seikyuShubetsu=0&shiryoShubetsu=02&pCd=TP0000000001&yuryoDispFlag=1&";
95	}
96
97	if (param == ""){
98		alert("チェックがありません。");
99	} else{
100		param = param.slice(0,-1)
101		location.href=address+param;
102	}
103}
104
105// 資料情報表出時のファンクション(要件変更により不必要)
106function sendCheckBoxBackUp(siryoFlg,contextPath){
107	var address = "";
108	var param = "";
109	var checkBoxs = null;
110
111	checkBoxs = document.validateForm.selectedGakkoCd;
112
113	// パンフ
114	if (siryoFlg == 1){
115		for (var i = 0; i < checkBoxs.length; i++) {
116			if (checkBoxs[i].checked){
117				var panfuAriFlag = "#panfuAriFlag_"+checkBoxs[i].value;
118				if( 0 == $(panfuAriFlag).val() ) {
119					alert("パンフ請求不可校が含まれています");
120					return;
121				}
122				param += "gakkoCd="+checkBoxs[i].value+"&";
123			}
124		}
125		address = contextPath + "?seikyuShubetsu=0&shiryoShubetsu=01&pCd=TP0000000001&yuryoDispFlag=1&";
126
127	// 願書
128	}else if (siryoFlg == 2){
129		for (var i = 0; i < checkBoxs.length; i++) {
130			if (checkBoxs[i].checked){
131				var ganshoAriFlag = "#ganshoAriFlag_"+checkBoxs[i].value;
132				if ( 0 == $(ganshoAriFlag).val() ) {
133					alert("願書請求不可校が含まれています");
134					return;
135				}
136				param += "gakkoCd="+checkBoxs[i].value+"&";
137			}
138		}
139		address = contextPath + "?seikyuShubetsu=0&shiryoShubetsu=02&pCd=TP0000000001&yuryoDispFlag=1&";
140	}
141
142	if (param == ""){
143		alert("チェックがありません。");
144	} else{
145		param = param.slice(0,-1)
146		location.href=address+param;
147	}
148}

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.