anchor.diff:  		</div>
   	</div>	
   	
  +	<div id="dialog-message" title="Download complete" >
  +  		<p>
  +    		<span class="ui-icon ui-icon-circle-check" style="float:left; margin:0 7px 50px 0;"></span>
  +    			Your files have downloaded successfully into the My Downloads folder.
  +  		</p>
  +  		<p>
  +    		Currently using <b>36% of your storage space</b>.
  +  		</p>
  +	</div>
  +	
  +<script type="text/javascript" src="${url}/js/jquery.js" ></script>	
  +<script type="text/javascript" src="${url}/js/jquery-ui.js" ></script>
   <script type="text/javascript" src="${url}/js/jquery-1.11.3.min.js" ></script>
   <script type="text/javascript" src="${url}/js/jquery.dataTables.min.js" ></script>
   <script type="text/javascript" src="${url}/js/dataTables.bootstrap.min.js" ></script>
  
positive.code: <body class="body" onload="carregaDataAtual()">
  <jsp:include page="../layout/menu.jsp"></jsp:include>
  <h3>Matrcula de Alunos</h3>
  <br><br>
  	<form name="formMatricula" action="${url}/matricula/adiciona" method="post" class="form-horizontal">
  		<%@include file="../matricula/form-inputs.jsp" %>			
  
negative.code: 		var TODAY = d.getDate() + "/" +monthname[d.getMonth()] +  "/" + d.getFullYear();  
  		formMatricula.dataMatricula.value = TODAY;    
  	}
  	
  // 	$.ajax({      
  // 	    type: "POST",      
  // 	    dataType:"html",    
  // 	    url: "<c:url value="/matricula/novoAluno"/>",    	      
  // 	    success: function(data) {    
  // 	        alert("Teste");
  	    	
  // 	    	$( "#dialog-message" ).dialog({
  // 	    	      modal: true,
  // 	    	      buttons: {
  // 	    	        Ok: function() {
  // 	    	          $( this ).dialog( "close" );
  // 	    	        }
  // 	    	      }
  // 	    	  }).show();	    		            	                         
  // 	    }    
  // 	}); 
  
  $('#cadastrarAluno').on('submit', function(event){    
  	$.ajax({    
      	type : 'post',    
          url : '${url}/matricula/novoAluno',    
          dataType : 'text',    
          data : {    
          	 'aluno.nome' : $("#nome").val(),    
               'aluno.endereco.rua' : $("#endereco").val()        
          },    
        	success: function(retorno){    
  // 			alert("Aluno cadastrado com sucesso!");
  			$( "#dialog-message" ).dialog({
  	  	      	modal: true,
  	  	      	buttons: {
  	  	        Ok: function() {
  	  	          $( this ).dialog( "close" );
  	  	        }
  	  	      	}
    	 		});
          }    
  	});    
      event.stopPropagation();  
      event.preventDefault();  
      return false;    
  });  
  	   
  </script>			
  </body>
  