diff --git a/app/templates/logs.html b/app/templates/logs.html
index bfb1ef3a..3ec25b8d 100644
--- a/app/templates/logs.html
+++ b/app/templates/logs.html
@@ -66,8 +66,14 @@
 <script>
 	{% if onclick == 'showApacheLog()' %}
 		window.onload = showApacheLog()
+		$('#serv').on('selectmenuchange',function() {
+			showApacheLog();
+		});
 	{% else %}
 		window.onload = showLog()
+		$('#serv').on('selectmenuchange',function() {
+			showLog();
+		});
 	{% endif %}	
 </script>
 
diff --git a/app/templates/viewstats.html b/app/templates/viewstats.html
index 7d9ef388..af782d3f 100644
--- a/app/templates/viewstats.html
+++ b/app/templates/viewstats.html
@@ -42,7 +42,10 @@
 			});
 		return false;
 		});		
-	}	
+	}
+	$('#serv').on('selectmenuchange',function() {
+		showStats();
+	});	
 </script>
 <link href="/inc/style.css" rel="stylesheet">
 {% endblock %}
\ No newline at end of file