title: Insert javascript return value into html
body: <p>I have created a JavaScript function which will return data containing 2 URL's. And I would like to insert these into the HTML code.</p>
  
  <p>e.g. the return URL values are</p>
  
  <p>JavsScript file</p>
  
  <pre><code>http://www.domain.com/javascript.js
  </code></pre>
  
  <p>CSS file</p>
  
  <pre><code>http://www.domain.com/buttons.css
  </code></pre>
  
  <p>I need to insert these into the code as:</p>
  
  <pre><code>&lt;link rel="stylesheet" type="text/css" href="return URL value" /&gt;
  &lt;script type="text/javascript" src="return URL value"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>How can I do that?</p>
  
  <p>Thanks</p>