PageSourceSearch

https://www.p-portal.go.jp/pps-web-biz/resources/app/javascript/fza99/FZA99.js

js p-portal.go.jp collected 2026-10-03 21:38:31 UTC 993 bytes, 33 lines download raw bytes

1/*
2* Copyright (c) 2017 Ministry of Internal Affairs and Communications
3* All rights reserved.
4*/
5
6/**
7 * FZA99 業務共通部品
8 */
9
10/**
11 * CS01 行送信ボタン複数パラメータ送信
12 * @param {Object} button 押下されたボタン
13 * @param {Array.<object>} params 送信パラメータ
14 * @param {string} action 送信先アクション
15 */
16function doSubmitParams(button, params, action) {
17	var empForm = $('#emptyForm');
18	empForm.attr('action', action + "?" + button.name);
19	empForm.attr('method', 'POST');
20	var addHiddenParam = function(form, name, value) {
21		var elm = $('<input>');
22		elm.attr('type', 'hidden');
23		elm.attr('name', name);
24		elm.attr('value', value);
25		form.append(elm);
26	};
27	addHiddenParam(empForm, '_csrf', $("meta[name='_csrf']").attr('content'));
28	addHiddenParam(empForm, button.name, button.value);
29	$.each(params, function(i, param) {
30		addHiddenParam(empForm, param.name, param.value);
31	});
32	empForm.submit();
33}

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.