Commit 5d26dcb4 authored by Markus Bergt's avatar Markus Bergt

get func for update.php

parent a5b98e03
$(document).ready(function() { $(document).ready(function() {
setInterval(function(){
var obj = $.get( "update.php", function( data ) {
alert( "Data Loaded: " + data );
});
}, 3000);
$('#showRegBtn').click(function(){ $('#showRegBtn').click(function(){
$('#loginCol').hide(); $('#loginCol').hide();
$('#registerCol').show(); $('#registerCol').show();
...@@ -29,4 +36,5 @@ $(document).ready(function() { ...@@ -29,4 +36,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