title: Ajax URL POST accept Localhost and IP
body: <p>Im doing an ajax post but I have a problem.</p>
  
  <p>I want to post to an url but I want to accept in the explorer, "localhost" and the "IP address".</p>
  
  <p>If I put like this:</p>
  
  <pre><code> $.ajax({
  
             url: 'http://192.168.9.30/test/suma.php',
             type: 'post',
             data: {rows:rowValues, columns:columnValues},
             dataType: 'json',
             success: function(data){
                 var rows = data.rows,
                  columns = data.columns;
  
                  // Insertar lo calculado  
                  $("td.total").each(function(rowIndex){
                      $(this).text(rows[rowIndex+1]);
                  });
  
                  $("tr.totalCol td").each(function(columnIndex){
                      $(this).text(columns[columnIndex+1]);
                  });
             }
         }); 
  </code></pre>
  
  <p>Only accept me typing the url, its possible to do it with the url and localhost too?</p>
  
  <p>Thank You in advance!</p>