title: Ajax reload all X seconds - datatables
body: <p>i use this piece of code:</p>
  
  <pre><code>setInterval( function () {
      table.ajax.reload(function ( json ) {
          if(json=="")
              {
               $('#newUpdate').val("No Updates available");
              }
          else
              {
               $('#newUpdate').val( json.lastInput );
              }
  
      });
      }, 30000 );
  </code></pre>
  
  <p>The update works fine.
  But if i have no update the 'newUpdate' div should show the above text'No Updates available'. But it dosen´t work. 
  If i use 'json.equals("") than it´s freezing... Oo
  What is wrong, can someone help me out:)</p>
  
  <p>Thanks</p>