0
jQuery를 사용하여 .mustache 파일에서 DIV ID를 읽는 방법은 무엇입니까?jquery와 콧수염을 사용하는 canjs
asdf.mustache
<div class="draggable">
<p>drag this here</p>
</div>
adminControl.js 여기에 $
define(['jQuery', 'can', 'ctbConfig','labelsConfig'], function(jQuery, can, ctbConfig,labelsConfig) {
$(".draggable").draggable();
}
("드래그.")) (드래그.; 작동 안됨.
템플릿이 렌더링 되었습니까? –