anchor.diff:  <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
   <jsp:include page="head.jsp"></jsp:include>
   <script type="text/javascript">
  +
   function write_note() {
   	if(validateMode()){
   		
  +		/* var myWindow = window.open("", "myWindow", "width=13000, height=10000,");
  +	    myWindow.document.write("<p>잠시만 기다려주세요'</p>");
  +	    setTimeout(function(){ myWindow.close() }, 1000);
  +	    setTimeout(function(){ document.writeFrm.submit() }, 1001); */
  +	     
  +	  /*   myWindow.opener.document.write("<p>This is the source window!</p>") */;
  +	  $('.crud').one('click',function(){
  +	    	document.writeFrm.submit()
  +	    	
  +	    })
   		
  -		document.writeFrm.submit();
  +		
   		return true;
   	}
   	return false;
  
positive.code:       <div class="card rounded-content" style="width: 100%; min-height: 75%;">
           <div class="card-body">
           	<div class="row">
              	<input class="newNoteBtn" type="button" value="+" onclick="write_note();" />
              </div>
              <form class="hidden_form" name="writeFrm" method="post" action="DispatcherServlet">
                 <input type="text" name="title" value="새 노트" />
  
negative.code: 
  function update_note() {
  	document.updateFrm.content.value=oDoc.innerHTML;
  /* 	var myWindow = window.open("", "myWindow", "width=13000, height=10000,");
      myWindow.document.write("<p>잠시만 기다려주세요.'</p>");
      setTimeout(function(){ myWindow.close() }, 1000);
      setTimeout(function(){ document.updateFrm.submit() }, 1001);
    
      document.updateFrm.submit() */
      
      $('.crud').one('click',function(){
      	document.updateFrm.submit()
      	
      })
  	
  	
  	
  }
  
  function deleteNote(no) {
  	if(confirm("정말 삭제할까요?")){
     location.href="DispatcherServlet?command=deleteDiary&no="+no;
  	}else{}
  }
  
  var oDoc, sDefTxt;
  