title: Ajax code the auto refresh a php file and updates it's vaules
body: <p>First I want admit that I have no knowledge in ajax. I'm building a small application, where I have a load.php file and within it, I have echoed 3 variables, i.e <code>$loadout[0];</code> <code>$loadout[1]; $loadout[2];</code>
  The PHP file is working fine and showing up the values.
  Now I have another html page index.html which will actually users see. In this html file have 3 divs on the body</p>
  
  <pre><code>&lt;div id="out1"&gt;&lt;/div&gt;
  &lt;div id="out2"&gt;&lt;/div&gt;
  &lt;div id="out3"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Now I want you people to help me with the ajax code, which will keep reloading the load.php file of mine and keep updating the output values on the respective div. But index.html page will not reload. load.php will reload inside hiddenly in every 1 sec.</p>
  
  <p>Please help. What will be the ajax code?</p>