Getting the currently executing, dynamically appended, script tag
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/403967/how-may-i-reference-the-script-tag-that-loaded-the-currently-executing-script">How may I reference the script tag that loaded the currently-executing script?</a>  </p>
</blockquote>



<p>Is there any way to get a reference to the currently running script element if it was appended dynamically after page load?  The answers to <a href="http://stackoverflow.com/questions/403967/how-may-i-reference-the-script-tag-that-loaded-the-currently-executing-script">this</a> question do not work as I do not know the tag ID and the [scripts.length-1] method fails when multiple tags have been appended in succession.</p>
