anchor.diff:  			/*DELETE BTN*/
   			$(".btn-delete").click(function(){  
   				//if($("#s_brand_name").val()!=''||$("#s_branch_id").val()!=0||$("#s_branch_name").val()!=''||$("#s_docter_name").val()!=''){
  -					 
  +					
  +					/*GET JSON VALUE*/
   					var btn = $(this);
  +					var jsonBranchData = btn.data('branch-code');
  +					jsonBranchData = JSON.parse(jsonBranchData.replace(/'/g, "\""));
   
   					swal({
   			  			  title: 'คุณต้องการลบหรือไม่?',
  
positive.code: 								
  								$("#modeAction").val("delete");
  
  								$("#branch").attr(
  									'action',
  									'branchM' + '?branchCode=' + btn.data('branch-code')
  								).submit();
  			  			  }else{
  			  				  swal(
  					    			'ข้อมูลไม่ถูกลบ',
  
negative.code: 					
  						<div class="uk-grid uk-grid-collapse padding5 border-gray">
  						 	<p class="uk-text-muted uk-width-1-1">ข้อมูลสาขา <a href="#add_branch" class="uk-button uk-button-success" data-uk-modal><i class=" uk-icon-plus"></i> เพิ่มข้อมูลสาขา</a></p>
  
  							<input type="hidden" id="modeAction" 
  								class="clsModeAction" 
  								name="modeAction" value="none">
  							<input type="hidden" name="activeType" 
  								value="none" 
  								id="activeType"
  								class="clsActiveType">
  
  							<div class="uk-width-1-1"> 
  									<% if(request.getAttribute("alertMessage") != null) {%>
  