PageSourceSearch

https://mortons-jp.com/assets/js/ajax.js

js mortons-jp.com collected 2026-10-08 09:36:47 UTC 1,425 bytes, 77 lines download raw bytes

1$.ajaxSetup({ cache: false });
2
3function createXmlHttpRequest() {
4	var xmlhttp = null;
5	if (window.XMLHttpRequest) {		// Firefox,Opera,Safari,IE7
6		return new XMLHttpRequest();
7	} else if(window.ActiveXObject){	// IE6
8		try {
9			return new ActiveXObject("Msxml2.XMLHTTP");			// MSXML3
10		} catch (e) {
11			return new ActiveXObject("Microsoft.XMLHTTP");		// MSXML2まで
12		}
13	} else {
14		return null;
15	}
16}
17
18
19// お知らせ一覧(トップページ)
20function DspEvents(n) {
21	var url = "/events.php?d=" + n;
22	$.ajax({
23		url: url,
24		cache: false,
25		success: function(html){
26			$("#EventsTable").empty();
27			$("#EventsTable").append(html);
28		}
29	});
30}
31
32
33// お知らせ一覧(一覧ページ)
34function DspEventsList(n, p) {
35	var url = "/events.php?d=" + n + "&p=" + p + "&mode=list";
36	$.ajax({
37		url: url,
38		cache: false,
39		success: function(html){
40			$("#EventsList").empty();
41			$("#EventsList").append(html);
42		}
43	});
44}
45
46
47
48
49
50
51// イベント情報詳細
52function DspEventDetail(n) {
53	var url = "/detail.php?id=" + n;
54	$.ajax({
55		url: url,
56		cache: false,
57		success: function(html){
58			$("#EventDetail").empty();
59			$("#EventDetail").append(html);
60		}
61	});
62}
63
64
65// イベント情報(イベント一覧用)
66function DspInfoEve(n, s, p) {
67	var url = "/events.php?d=" + n + "&p=" + p + "&bd=" + s;
68	$.ajax({
69		url: url,
70		cache: false,
71		success: function(html){
72			$("#"+s).empty();
73			$("#"+s).append(html);
74		}
75	});
76}
77

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.