title: How to find <script> by id
body: <p>I have a <code>&lt;script&gt;</code> where it adds to the <code>&lt;head&gt;</code> another script.
  This new script is supposed to find the original <code>&lt;script&gt;</code> that inserted it.
  can I put <code>&lt;script id="blablabla"&gt;</code> and let the new <code>&lt;script&gt;</code> find it?</p>
  
  <pre><code>&lt;div id="placeholder-1"&gt;&lt;/div&gt;
  &lt;script type="text/javascript"&gt;
              &lt;//![CDATA[
              (function() {
               var s = document.createElement("script");
               s.type = "text/javascript";
               s.async = true;
               s.src = "blablabla.com/blabla.js";
               (document.getElementsByTagName("head")[0] ||
                document.getElementsByTagName("body")[0]).appendChild(s);
               })();//]]&gt;&lt;/script&gt;
  </code></pre>
  
  <p>Now, the blabla.js needs to find the div placeholder.
  I am trying to save that div placeholder, by giving it's id already to the script.</p>
  
  <p>is that a browser compatible?</p>
  
  <p>thanks</p>