title: how to display text in div dynamically
body: <p>I have searched on the forum and saw posts about changing text dynamically upon click. But in my case I want to change the display dynamically when loading the page from beginning. I already have a function that figure out what I should display:</p>
  
  <pre><code>function phone()
  {
  //code here
  return phone;
  }
  </code></pre>
  
  <p>And my question is how to display the returned phone number in the div below to replace the 1.888.888.8888 part. Can anyone offer some insights? Thank you!</p>
  
  <pre><code>&lt;div class="add-info"&gt;
  &lt;span class="rightfloat"&gt;Order online &lt;span class="red"&gt;or call 1.888.888.8888&lt;/span&gt;&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>