title: IS there something missing? in Change\Update page contents without refreshing\reloading the page
body: <p>This question is in reference to </p>
  
  <p><a href="https://stackoverflow.com/questions/3644585/html-change-update-page-contents-without-refreshing-reloading-the-page">HTML - Change\Update page contents without refreshing\reloading the page</a></p>
  
  <p>Since the question is protected, I cant go through it.</p>
  
  <p>My question is whether or not something is missing because I can not get it to work.  I have added the jquery library</p>
  
  <pre><code>&lt;script language="JavaScript" type="text/javascript" src="js/jquery-1.9.1.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>I want to say that the function is not being called, but if I replace</p>
  
  <pre><code>$('#myStyle').load('data.php?id=' + id); 
  </code></pre>
  
  <p>with</p>
  
  <pre><code>document.getElementById("myStyle").innerText = 'text';
  </code></pre>
  
  <p>then it does work and i get text. </p>
  
  <p>Another question is whether or not you could do this or something like it</p>
  
  <pre><code>document.getElementById("myStyle").innerText = '$('#myStyle').load('data.php?id=' + id)';
  </code></pre>
  
  <p>Thanks for your help
  Jeff</p>