title: call external page & load dynamic content into DIV with AJAX/Jquery
body: <p>Well, I understand there is a way to change contents within the same page using Ajax call &amp; load functions (my example page a)<br>
  What i am looking for is, is there a way to call an external page &amp; load dynamic content unto the selected div on that external page. i guess it possible using HTTP Request Methods
  but i am really a noob at that.
  <br><br>
  OK, I have page a (picture attached)<br>
  <img src="https://i.stack.imgur.com/qjYSd.jpg" alt="enter image description here"></p>
  
  <p><br></p>
  
  <p>the ajax loads the content into the "RESULT" div on clicking the specific id's <br>
  here is the ajax script &amp; the html i have come so far. this loads perfectly on the Result div on the "page a" itself. <br></p>
  
  <pre><code>&lt;a href="#" id="one" /&gt;&lt;br&gt;
  &lt;a href="#" id="two" /&gt;&lt;br&gt;
  &lt;a href="#" id="three" /&gt;&lt;br&gt;
  &lt;div id="result"  class="functions"&gt;&lt;/div&gt;
  </code></pre>
  
  <p><br></p>
  
  <pre><code>    $.ajaxSetup({
          cache: false
      });
      var ajax_load = "&lt;img class='loading' src='img/load.gif' alt='loading...' /&gt;";
  
      $("#one").click(function () {
      var loadUrl = "content.php";
      $("#result").html(ajax_load).load(loadUrl);
      });
  
      $("#two").click(function () {
      var loadUrl = "content1.php";
      $("#result").html(ajax_load).load(loadUrl);
      });
  
      $("#three").click(function () {
      var loadUrl = "content2.php";
      $("#result").html(ajax_load).load(loadUrl);
      });
  </code></pre>
  
  <p>so the Query is, i have "page b" &amp; certain buttons, on clickin the button, i want to load "page a" &amp; load the selected content unto the result DIV.<br>
  <img src="https://i.stack.imgur.com/SGxmS.jpg" alt="enter image description here"></p>
  
  <p><br>
  the concept is, on page b, the id is clicked, it LOADS page a  in a new tab &amp; loads the selected content on "RESULT" div. both pages are on the same server <br>
  Would really appreciate any assistance or tips. thank you.</p>