anchor.diff:  
   
   
  +<div id="myModal" class="modal fade" tabindex="-1" role="dialog" style="display: none;">
  +	<div class="modal-dialog">
  +		<div class="modal-content">
  +			<div class="modal-header">
  +				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
  +				<h4 class="modal-title" id="myModalLabel">Modal Heading</h4>
  +			</div>
  +			<div class="modal-body">
  +				<form id="lecture-regist-form" class="panel form-horizontal">
  +					<div class="panel-body">
  +						<div class="form-group">
  +							<label for="inputEmail2" class="col-sm-2 control-label">챕터명</label>
  +							<div class="col-sm-10">
  +								<input type="text" class="form-control" id="lectureName" name="lectureName" placeholder="강좌명을 입력해주세요">
  +							</div>
  +						</div> <!-- / .form-group -->
  +						<div class="form-group">
  +							<label for="asdasdas" class="col-sm-2 control-label">챕터설명</label>
  +							<div class="col-sm-10">
  +								<textarea id="lectureDescription" name="lectureDescription" class="form-control"></textarea>
  +								<p class="help-block">강좌 설명을 적어주세요</p>
  +							</div>
  +						</div> <!-- / .form-group -->
  +					</div>
  +				</form>
  +			</div> <!-- / .modal-body -->
  +			<div class="modal-footer">
  +				<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
  +				<button type="button" id="lectureRegistBtn" class="btn btn-primary">Save changes</button>
  +			</div>
  +		</div> <!-- / .modal-content -->
  +	</div> <!-- / .modal-dialog -->
  +</div> <!-- /.modal -->
  +
  +
  +<!-- Success -->
  +<div id="uidemo-modals-alerts-success" class="modal modal-alert modal-success fade">
  +	<div class="modal-dialog">
  +		<div class="modal-content">
  +			<div class="modal-header">
  +				<i class="fa fa-check-circle"></i>
  +			</div>
  +			<div class="modal-title">Some alert title</div>
  +			<div class="modal-body">Some alert text</div>
  +			<div class="modal-footer">
  +				<button type="button" class="btn btn-success" data-dismiss="modal">OK</button>
  +			</div>
  +		</div> <!-- / .modal-content -->
  +	</div> <!-- / .modal-dialog -->
  +</div> <!-- / .modal -->
  +<!-- / Success -->
  +
   <script type="text/javascript">
   
  -$(document).ready(function(){
  -
  -	$("#cancel").hide();
  -	$("#update").hide();
  -	
  -	getData();
  -});
  -
  -	
  -function getData(){
  +
  +
  +$(document).ready(function() { 
  +
  +	$('a[href="#uidemo-tabs-default-demo-home5"]').click(function() { 
  +
  +		alert("You clicked Profile tab!");
  +
  +    });
  +
  +	$('a[href="#lectur-default"]').click(function() { 
  +		getDefaultData();
  +    });
  +
  +	$('a[href="#lectur-detail"]').click(function() { 
  +		getDetailData();
  +    });
  +	
  +	/*$('a[data-toggle="tab"]').click('shown', function (e) {
  +		alert(e.target);
  +	});*/
  +
  +	$("#lectureRegistBtn").click(function(e){
  +
  +		  //getData();
  +		 $('#myModal').modal('hide');
  +	     //$('#uidemo-modals-alerts-success').modal('show');
  +		 $(".alert").alert('close')
  +		
  +	});
  +
  +	$("#editChapterBtn").click(function(e){
  +		 // Ajax 호출
  +		 $('#myModal').modal('show');
  +	});
  +
  +	getDefaultData();
  +
  +}); 
  +	
  +function getDefaultData(){
   	$.ajax({
   		type : 'get',
   		async : false,
  
positive.code: 	alert("업데이트 요청되었습니다.");
  }
  </script>
  
negative.code: 		<div class="panel-body">
  			<ul id="uidemo-tabs-default-demo" class="nav nav-tabs">
  				<li class="active">
  					<a href="#lectur-default" data-toggle="tab">기본정보</a>
  				</li>
  				<li class="">
  					<a href="#lectur-detail" data-toggle="tab">상세정보</a>
  				</li>
  				<li class="">
  					<a href="#lectur-chapter" data-toggle="tab">챕터정보</a>
  				</li>
  				<li class="">
  					<a href="#uidemo-tabs-default-demo-home5" data-toggle="tab">수강생관리</a>
  