Commit cc409516 authored by Nico Schallehn's avatar Nico Schallehn
parents e7390fc0 0e010bcf
$(document).ready(function() { $(document).ready(function() {
setInterval(function(){
$.get( "update.php", function( data ) {
UseData(data);
});
}, 3000);
function UseData(data){
var obj = jQuery.parseJSON(data);
alert(obj.UsersTable);
}
$('#showRegBtn').click(function(){ $('#showRegBtn').click(function(){
$('#loginCol').hide(); $('#loginCol').hide();
$('#registerCol').show(); $('#registerCol').show();
...@@ -29,4 +40,5 @@ $(document).ready(function() { ...@@ -29,4 +40,5 @@ $(document).ready(function() {
$('#mainnavbar').removeClass('in'); $('#mainnavbar').removeClass('in');
}); });
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment