PageSourceSearch

http://www.lecole-hs.jp/form/js/local.js

js lecole-hs.jp collected 2026-10-09 02:08:09 UTC 1,007 bytes, 45 lines download raw bytes

1$(function(){
2
3
4	//汎用ラジオ
5	$('input[type="radio"]').each(function(){
6		if($(this).is(':checked')){
7			$(this).parent('label').addClass('check_on');
8		}else{
9			$(this).parent('label').removeClass('check_on');
10		}
11//		$(this).parent('label').removeClass('check_on');
12	});
13
14	$('input[type="radio"]').on('click',function(){
15		var elem = $(this);
16		var parentElem = elem.closest('.radio');
17		parentElem.find('label').each(function(){
18			$(this).removeClass('check_on');
19		});
20		elem.closest('label').addClass('check_on');
21	});
22
23
24
25
26	//汎用チェック
27	$('input[type="checkbox"]').each(function(){
28		if($(this).is(':checked')){
29			$(this).parent('label').addClass('check_on');
30		}else{
31			$(this).parent('label').removeClass('check_on');
32		}
33	});
34	$('input[type="checkbox"]').on('click',function(){
35		if($(this).is(':checked')){
36			$(this).parent('label').addClass('check_on');
37		}else{
38			$(this).parent('label').removeClass('check_on');
39		}
40	});
41
42
43
44
45});

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.