title: How can I load file data in PHP using jQuery without error ERR_NAME_NOT_RESOLVED in google chrome?
body: <p>I have following jquery function:</p>
  
  <pre><code>$(document).ready(function(){
      // notification list
      $.fn.listarNotificacoes = function() {
          return this.each(function() { 
              $.ajax({
                  url : 'js/php-files/notificacao-listar.php',
                  type : 'post',
                  beforeSend: function() {
                      $('#notification').html('&lt;div align="center"&gt;&lt;span class="aguarde-notification"&gt;&lt;/span&gt;&lt;/div&gt;');
                  },
                  success: function(data) {
                      $('#notification').html(data);
                  }
              });
          });  
      };
  
      $('#notification').listarNotificacoes();
  
      setInterval(function() {
          $('#notification').listarNotificacoes();
      },10000); //60000 = 1 min
  });
  </code></pre>
  
  <p>In the PHP file (notificacao-listar.php), I have:</p>
  
  <pre><code>&lt;?php
  $notificacoes = $notificacaoBO-&gt;findByParam($notificacaoVO);
  $count = count($notificacoes);
  ?&gt;
  &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" id="notification-load"&gt; 
  &lt;span class="glyphicon glyphicon-globe"&gt;&lt;/span&gt;&lt;span class="badge"&gt;&lt;?php echo $count ?&gt;&lt;/span&gt;
  &lt;/a&gt;
  &lt;ul class="dropdown-menu"&gt;
      &lt;?php
      for ($i = 0; $i &lt; $count; $i++) {
          $notificacaoVO = $notificacoes[$i];
      ?&gt;
      &lt;li class="notification-list"&gt;
          &lt;strong&gt;&lt;?php echo $notificacaoVO-&gt;getName(); ?&gt;&lt;/strong&gt;
          &lt;?php echo $notificacaoVO-&gt;getDescription(); ?&gt;
          &lt;a href="&lt;?php echo $notificacaoVO-&gt;getLink(); ?&gt;"&gt;&lt;?php echo '#'.$notificacaoVO-&gt;getId(); ?&gt;&lt;/a&gt;
      &lt;/li&gt;
      &lt;li class="divider"&gt;&lt;/li&gt;
      &lt;?php } ?&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>When I open in the chrome navigator, Ok. The problem is when open other navigator parallel on the same page.
  I get the following error of chrome navigator:</p>
  
  <pre><code>Failed to load resource: net::ERR_NAME_NOT_RESOLVED
  POST http://localhost/manager/js/php-files/notificacao-listar.php net::ERR_NAME_NOT_RESOLVED jquery.min.js:4
  send                                                                                         jquery.min.js:4
  m.extend.ajax                                                                                jquery.min.js:4
  listarNotificacoes                                                                           (index):39 
  (anonymous function)                                                                         (index):57 
  </code></pre>
  
  <p>How can I resolve this situation?</p>
  
  <p>Thanks!</p>