Devi aggiungerci una chiamata ajax http://api.jquery.com/jQuery.Ajax/ per interrogare il db