anchor.diff:  	}});
   		
   }
  -   
  +    
       );
  -    
  +    $("#updateBtn").click( function() {
  +    
  +    	$.ajax( 'ajax/update.do', {
  +    		   type: 'POST',
  +			data: {
  +
  +				no : $('#mno').val(),
  +				carNumber : $('#carNumber').val(),
  +				carModel: $('#carModel').val(),
  +				carType: $('#carType').val(),
  +				mnoUpdate: $('#mnoUpdate').val()
  +				
  +			},
  +			success: function(car){
  +				location.href = 'carList.do';
  +	}});
  +}
  +    );
   });
   
  -
  -function deleteFunction()
  -{
  -	var answer  = confirm( '삭제 하시겠습니까?' );
  -	if( answer ) 
  -	{
  -		location.href = 'ajax/delete.do?no=' + $('#mno').val();
  -	}	
  -	return;
  -}
  -function myFunction()
  -{
  -	//myWin = window.open('../member/memberList.do', 'popwindow', 'width=300,height=300');
  -	myWin = window.open('../member/memberPopup.do', 'popwindow', 'width=300,height=450');
  -	frm.cno.focus();
  -	return;
  -}
  -
   </script>
  +
   <style type="text/css">
   .ui-pg-input {
     width: 20px;
  
positive.code: <script src = "../js/jquery.jqGrid.min.js" type = "text/javascript"></script>
  <script src = "../js/i18n/grid.locale-kr.js" type = "text/javascript"></script>
  
  <script>
  
  
  
  
  
  $(window.document).ready(function() {
  	
  
negative.code:  
   $("#status").val("edit");
  	var $rowData = $(this).getRowData(rowid);
  	$("#carNumber").val($rowData['carNumber']);
  	$("#carType").val($rowData['carType']);
  	$("#carModel").val($rowData['carModel']);
  	$("#cDriver").val($rowData['driver']);
  	$("#mno").val($rowData['no']);
  	$("#mnoUpdate").val($rowData['no']);
  
  }	
  // navGrid() 메서드는 검색 및 기타기능을 사용하기위해 사용된다.
      }).navGrid('#pager', {
          search : true,
          edit : true,
          add : true,
          del : true
      });
  	  
      $("#addBtn").click( function() {
      	$.ajax( 'ajax/add.do', {
      		   type: 'POST',
  			data: {
  
  				no : $('#mno').val(),
  				carNumber : $('#carNumber').val(),
  				carModel: $('#carModel').val(),
  				carType: $('#carType').val(),
  				driver: $('#cDriver').val()
  			},
  			success: function(car){
  				location.href = 'carList.do';
  	}});
  		
  }
      
      );
      $("#delBtn").click( function() {
      
      	$.ajax( 'ajax/delete.do', {
      		   type: 'POST',
  			data: {
  
  				no : $('#mno').val()
  				
  			},
  			success: function(car){
  