anchor.diff:  								$("#branch_id").val(branch);  
   								$("#chkDelete").val("delete"); 
   								
  -								$("#branch").submit();
  -							  
  +								$("#modeAction").val("delete");
  +
  +								$("#branch").attr(
  +									'action',
  +									'branchM' + '?branchCode=' + btn.data('branch-code')
  +								).submit();
   			  			  }else{
   			  				  swal(
   					    			'ข้อมูลไม่ถูกลบ',
  
positive.code: 			
  			 
  		<script>
  		
  		$(document).on("change","select[name='branchModel.addr_provinceid']",function(){
  			
  			var index = $("select[name='branchModel.addr_provinceid']").index(this); //GetIndex
  
negative.code: 									 <br>
  									<% } %>
  							</div>
  			 				<div class="uk-width-1-1 uk-margin-medium-bottom">
  			 					<ul class="uk-tab" data-uk-switcher="{
  			 							connect:'#branch-active',
  			 							animation: 'fade'
  			 						}">
  								    <li class="uk-active"><a href="#">active</a></li>
  								    <li><a href="#">inactive</a></li>
  								</ul>
  			 				</div>
  							<ul class="uk-width-1-1 uk-switcher" id="branch-active">  
  							 	<li class="uk-active">
  							 		<table class="uk-table uk-table uk-table-hover uk-table-condensed border-gray" id="table_branch_active">
  										<thead>
  											<tr class="hd-table">
  												<th>แบรนด์</th>
  												<th>รหัสสาขา</th>
  												<th>เลขรหัสสาขา</th>
  												<th>ชื่อสาขา</th>
  												<th>แพทย์ผู้ดำเนินการ</th>
  												<th>เบอร์</th>
  												<th>เบอร์มือถือ</th>
  												<th class="uk-text-center">จัดการ</th>
  												<th class="uk-text-center">ลบ</th>
  											</tr>
  										</thead>
  										<tbody>
  											<%
  											if(request.getAttribute("branchlist")!=null)	{
  											List branchlist = (List) request.getAttribute("branchlist");
  											List <BranchModel> branchModel = branchlist;
  											int x=0;
  											for(BranchModel pbm : branchModel){
  											x++;
  											%>
  											<tr>
  												<td><%=pbm.getBrand_name()%></td>
  												<td><%=pbm.getBranch_id()%></td>
  												<td><%=pbm.getBranch_code()%></td>
  												<td><%=pbm.getBranch_name()%></td>
  												<td><%=pbm.getDoctor_name()%></td>
  												<td><%=pbm.getTel_id()%></td>
  												<td><%=pbm.getTels_id()%></td>
  												<td class="uk-text-center">
  													<button type="button" name="detail"
  													class="uk-button uk-button-primary uk-button-small btn-view"
  													data-branch-code="<%=pbm.getBranch_code()%>" >
  													<i class=" uk-icon-eye"></i>
  													</button>
  												</td>
  												<td class="uk-text-center">
  													<button type="button" name="delete"
  													class="uk-button uk-button-danger uk-button-small btn-delete"
  													data-branch-code="<%=pbm.getBranch_code()%>" >
  													<i class=" uk-icon-times"></i>
  													</button>
  												</td>
  											</tr>
  												<% } %>
  												<% }else{ %>
  											<tr>
  												<td class="uk-text-center" colspan="7">ไม่พบข้อมูล</td>
  											</tr>
  												<% } %>
  										</tbody>
  							 		</table>
  							 	</li>
  							 	<li>
  							 		<table class="uk-table uk-table uk-table-hover uk-table-condensed border-gray" id="table_branch_inactive">
  										<thead>
  											<tr class="hd-table">
  												<th>แบรนด์</th>
  												<th>รหัสสาขา</th>
  												<th>เลขรหัสสาขา</th>
  												<th>ชื่อสาขา</th>
  												<th>แพทย์ผู้ดำเนินการ</th>
  												<th>เบอร์</th>
  												<th>เบอร์มือถือ</th>
  												<th class="uk-text-center">จัดการ</th>
  												<th class="uk-text-center">ลบ</th>
  											</tr>
  										</thead>
  										<tbody>
  											<%
  											if(request.getAttribute("branchlist")!=null)	{
  											List branchlist = (List) request.getAttribute("branchlist");
  											List <BranchModel> branchModel = branchlist;
  											int x=0;
  											for(BranchModel pbm : branchModel){
  											x++;
  											%>
  											<tr>
  												<td><%=pbm.getBrand_name()%></td>
  												<td><%=pbm.getBranch_id()%></td>
  												<td><%=pbm.getBranch_code()%></td>
  												<td><%=pbm.getBranch_name()%></td>
  												<td><%=pbm.getDoctor_name()%></td>
  												<td><%=pbm.getTel_id()%></td>
  												<td><%=pbm.getTels_id()%></td>
  												<td class="uk-text-center">
  													<button type="button" name="detail"
  													class="uk-button uk-button-primary uk-button-small btn-view"
  													data-branch-code="<%=pbm.getBranch_code()%>" >
  													<i class=" uk-icon-eye"></i>
  													</button>
  												</td>
  												<td class="uk-text-center">
  													<button type="button" name="delete"
  													class="uk-button uk-button-danger uk-button-small btn-delete"
  													data-branch-code="<%=pbm.getBranch_code()%>" >
  													<i class=" uk-icon-times"></i>
  													</button>
  												</td>
  											</tr>
  												<% } %>
  												<% }else{ %>
  											<tr>
  												<td class="uk-text-center" colspan="7">ไม่พบข้อมูล</td>
  											</tr>
  												<% } %>
  										</tbody>
  							 		</table>
  							 	</li>
  						 	</ul>
  						</div>
  						</div>
  					</div>
  