0
안녕 JQuery와 3 LINK_TO 레일 나는 링크를 클릭하면 대화 상자를 열려면 다음과 같은 jQuery를 가지고 :같은 효과는
$(function() {
$('#editdialog').dialog({
autoOpen: false,
width: 600,
modal: true
});
$('#edit-dialog').click(function(){
$('#editdialog').dialog('open');
return false;
});
}); 뷰에서 은 내가
<%= link_to("Edit", {:controller => "projects", :action => "edit"}, {:id => "editdialog"}) %>
문제가 있습니다 링크 대화 상자를 실행하지 않습니다. 도움을 주셔서 감사합니다
고맙습니다. – Hishalv