Add button after script tag
<p>I have a javascript that I want my users to be able to put on their sites. In this javascript, I want to generate a simple button, that is located exactly where the javascript has been pasted into the site. How can I do this? It would be simple if I could give my <code>&lt;script&gt;</code> tag an id and then just getting the element with the specific ID and appending after it, but I can't.</p>

<p>For example if I have something like this:</p>

<pre><code>&lt;body&gt;
&lt;p&gt;test para&lt;/p&gt;
&lt;p&gt;test para&lt;/p&gt;&lt;p&gt;test para&lt;/p&gt;&lt;p&gt;test para&lt;/p&gt;
&lt;p&gt;test para&lt;/p&gt;
&lt;div&gt;test div&lt;/div&gt;
&lt;script src="embed.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;div&gt;last div&lt;/div&gt;
&lt;/body&gt;
</code></pre>

<p>I want my button to be placed right between <code>test div</code> and <code>last div</code> (before or after the <code>script</code> tag, it doesn't matter). Can I do this?</p>
