728x90 반응형 SMALL 제이쿼리6 jquery selectable 오류 (double click 안먹히는 현상) 해결 * jQuery UI Selectable 1.8.17 * * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * http://docs.jquery.com/UI/Selectables * * Depends: * jquery.ui.core.js * jquery.ui.mouse.js * jquery.ui.widget.js */ (function (a, b) { a.widget("ui.selectable", a.ui.mouse, { options: { appendTo: "body", autoRefresh: !.. 2013. 12. 23. jquery selectbox 처리 선택된 값 읽기 $("#myselect option:selected").val(); 선택된 내용 읽기 $("#myselect option:selected").text(); 선택된 위치 var index = $("#myselect option").index($("#myselect option:selected")); 항목 추가 $("#myselect").append("1"); $("#myselect").append("2"); option 변경 $("#myselect").html("Some orangesMore OrangesEven more oranges"); // 지정된 index 위치의 option 변경 $("#myselect option:eq(1)").replaceWith("Some apples"); $.. 2013. 12. 23. 이전 1 2 다음 728x90 반응형 LIST