PageSourceSearch

https://tb.kibo.or.kr/_res/kibotb/ktbs/js/util/util.binding.js

js kibo.or.kr collected 2026-10-03 19:57:55 UTC 1,043 bytes, 40 lines download raw bytes

1/** 이벤트 바인딩 함수 시작 */
2
3// 엔터 키 이벤트 바인딩
4$.fn.bindEnterKeyEvent = function(callbackFunc) {
5	var inputEl = $(this);
6
7	inputEl.keyup(function(event) {
8		event.preventDefault();
9		
10		if (event.keyCode == 13 && typeof callbackFunc == "function") {
11	    	callbackFunc();
12	    }
13	});
14}
15
16// '전체 체크' 체크박스 이벤트 바인딩
17$.fn.bindCheckAllEvent = function(checkboxName) {
18	if (checkboxName == null || checkboxName == '') {
19		return;
20	}
21	
22	var checkEl = $(this);
23	var checked = checkEl.prop("checked");
24	var checkboxList = $('[name=' + checkboxName + ']');
25	
26	checkEl.click(function() {
27		checkboxList.prop('checked', checked);	// TODO - 테스트 필요
28	});
29}
30
31//우클릭방지
32$(document).ready(function(){
33    $(document).bind("contextmenu", function(e) {
34        return false;
35    });
36});
37//$(document).bind('selectstart',function() {return false;}); 
38//$(document).bind('dragstart',function(){return false;}); 
39
40/** 이벤트 바인딩 함수 종료 */

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.