anchor.diff:    req.send(data);
     
     // Prevent to execute the default action for "submit"
  -  //event.preventDefault();
  +  event.preventDefault();
   }
   
   /**
  
positive.code: #import('dart:html');
  #import('dart:json');
  
  var pets = 0;
  
  /** Main function. Intializes all the buttons and fucntions for future use. */
  void main() {
    var btnQuery = query('#formulary');
    btnQuery.on.submit.add(newQuery);
    var btnLogin = query('#form_login');
    btnLogin.on.submit.add(login_1);
    query('#logout').on.click.add(logout);
    query('#close').on.click.add(hideError);
    
    query('#user_id').value = "aitor";
    query('#pass_id').value = "aitor";
  }
  
  /** Handler that closes the error message. */
  void hideError (event) {
    query('#error').style.display = 'none';
  }
  
  void login_1(event){
    event.preventDefault();
    login();
  }
  
  /** 
  
negative.code:   showJson(parsedJSON);
  }
  
  /** Handler that closes the error message. */
  void hideError (event) {
    query('#error').style.display = 'none';
  }
  
  /** 
   * Function that shows the distinct forecast data in the corresponding elements 
   * of the html
  