PageSourceSearch

https://bariq.jp/sp/js/form.js

js bariq.jp collected 2026-10-09 02:54:35 UTC 1,682 bytes, 66 lines download raw bytes

1$(document).ready(function(){  //DOMが構築されたら実行。$(window).load()の場合は使用される画像など含めて、ページが完全に読み込まれたら実行
2
3if($('#pickup').val() == 1){
4$('#pickup_datetime').css('display','none');
5}
6
7jQuery("#entry_form").validationEngine('attach', {
8    promptPosition:"topRight"
9});
10
11$('#pickup').change(function() {
12    if ($('select[name="pickup"] option:selected').val() == '2'){
13		$('#pickup_datetime').css('display','table-row');
14		$('.formError').remove();
15	}
16	else if ($('select[name="pickup"] option:selected').val() == '3'){
17		$('#pickup_datetime').css('display','table-row');
18		$('.formError').remove();
19	}
20    else if ($('select[name="pickup"] option:selected').val() == '1'){
21		$('#pickup_datetime').css('display','none');
22		$('.formError').remove();
23	}
24  });
25
26});
27
28
29
30
31function numOnly(e)
32{
33	var keyCode = (e != null) ? e.which : event.keyCode;
34
35	 //数字入力(通常)、数字入力(テンキー)、BACK SPACEキー、DELETEキー、十字キー
36	if((48<=keyCode && keyCode<=57)  || 
37	   (96<=keyCode && keyCode<=105) || 
38	   (keyCode == 8)  || 
39	   (keyCode == 46) || 
40	   (keyCode == 9)  ||                      // Onoda
41	   (37<=keyCode && keyCode<=40)) 
42	   return true;
43	
44	if(e != null) 
45	{
46		if(e.preventDefault){
47			// デフォルトの動作を無効化する
48			e.preventDefault();
49			e.stopPropagation();
50		}else{
51			// デフォルトの動作を無効化する(アタッチイベント利用時や、InternetExplorer 8 以前の場合)
52			e.keyCode = 0;
53			return false;
54		}
55	}
56	else
57	{
58		event.returnValue = false; 
59        event.cancelBubble = true; 
60	}
61
62	return false;
63}
64
65
66

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.