jquery ui modal 해결이 안되네요 > 자유게시판

자유게시판

jquery ui modal 해결이 안되네요 정보

jquery ui modal 해결이 안되네요

본문

$(document).ready(function(){
 $('a[name=modal]').click(function(event) {
  event.preventDefault();
  var $this = $(this);
  var id = $this.attr('href');

  var dialogOpts = {
   title: ($this.attr('title')) ? $this.attr('title') : '상세보기',
   autoOpen: true,
   width: 670,
   modal: true,
   resizable: true,
   autoResize: true,
   buttons: {
    "닫기": function() {
     $(this).dialog("close");
     }
   },
   open: function() {
          $("#example").load("id");
   }
  };
  
 $("#example").dialog(dialogOpts);
 $('a[name=modal]').click(function(event){
  event.preventDefault();
  $("#example").dialog("open");
  return false;
  }
 );
 
 });
});

리스트의 링크주소를 모달로 가져오는건데요
id를 찾기는 하는데 가져오질 못합니다.
요놈을 지금 몇시간씩이나 쭈물럭거리고 있네요 이제 머리 스팀받을라고 합니다
도와주세요

추천
0
  • 복사

댓글 9개

© SIRSOFT
현재 페이지 제일 처음으로