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개

전체 199,644 |RSS
자유게시판 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT