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

added more update stuff

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