anchor.diff:      	
       	  
           $("#addBtn").click( function() {
  -    		//alert($('#mid').val());
           	$.ajax( 'ajax/add.do', {
  -				type: 'POST',
  +				method: 'POST',
   				data: {
  -					
  -					photo: $('#mphoto').val(),
  -					name: $('#mname').val(),
  +					no : $('#mno').val(),
  +					name : $('#mname').val(),
   					id: $('#mid').val(),
   					tel: $('#mtel').val(),
  -					rank: $('#mrank').val(),
   					personalNumber: $('#mpersonalNumber').val(),
  -					officeName: $('#officeName').val(),
  -					personalNumber: $('#mpersonalNumber').val()
  +					photo: $('#oAddr').val(),
  +					officeNum: $('#oAddr').val(),
  +					officeName: $('#oAddr').val(),
  +					rank: $('#mrank').val()
   				},
   				success: function(members){
   					location.href = 'list.do';
   		}});
       		
  +    }
  +       
  +        
  +        );
  +        
  +        
  +        $("#updateBtn").click( function() {
  +        	$.ajax( 'ajax/update.do', {
  +				method: 'POST',
  +				data: {
  +					no : $('#mno').val(),
  +					name : $('#mname').val(),
  +					id: $('#mid').val(),
  +					tel: $('#mtel').val(),
  +					personalNumber: $('#mpersonalNumber').val(),
  +					photo: $('#oAddr').val(),
  +					officeNum: $('#oAddr').val(),
  +					officeName: $('#oAddr').val(),
  +					rank: $('#mrank').val()
  +				},
  +				success: function(members){
  +					location.href = 'list.do';
  +		}});
  +    		
  +    }
  +       
  +        );
  +        
       });
  -    	
  -    	
  -        $("#delBtn").click( function() {
  -    		var answer  = confirm( '삭제 하시겠습니까?' );
  -    		if( answer ) 
  -    		{
  -    			
  -    			document.listform.action = "<c:url value='/delLocationRuleLibrary.das'/>";
  -    		   	document.listform.submit();
  -    		}; 	
  -    	});
  -    });
  -
  +    
  +    
  +    function deleteFunction()
  +    {
  +    	var answer  = confirm( '삭제 하시겠습니까?' );
  +		if( answer ) 
  +		{
  +			location.href = 'ajax/delete.do?no=' + $('#mno').val();
  +		}	
  +    	return;
  +    }
  +    
   </script>
   
   <title>직원관리</title>
  
positive.code: 		ID : <input id=mid type="text" name="mid">
  	</td>	
  	</tr>
  	
  
  </table>
  		<input id="addBtn" type="button" value="등록">
  		<input id="updateBtn" type="button" value="변경" class="view">
  		<input id="delBtn" type="button" value="삭제">
  		<input id="cancelBtn" type="reset" value="취소">
  	</form>
  </body>
  </html>
negative.code:     	
          $("#grid").jqGrid({
              //url : 'http://apis.daum.net/socialpick/search?output=json',
              url : 'http://localhost:8080/taetaetae/member/ajax/list.do',
              caption : '직원 현황',    // caption : 그리드의 제목을 지정한다.
              datatype : 'json',               // datatype : 데이터 타입을 지정한다.
                                                      // (json 으로 외부에 요청을 보내면 보안정책에 위배되어 요청이 나가질 않는다.
  