Javascript write/render image on asp.net page
<p>I am calling a javascript function (function test()) which calls a url which returns a html script. I want to render that on to the page.</p>

<p>I am using this, but when I go to view source I am not seeing any image..</p>

<pre><code>function test()
{
    document.write('&lt;SCR'+'IPT SRC="http://demoweb.com/renderimage;type=a;num='+ 1000 +'?" type="text/javascript"&gt;&lt;/SCR'+'IPT&gt;');
}
</code></pre>

<p>This retuns URL <a href="http://demoweb.com/renderimage;type=a;num=1000" rel="nofollow">http://demoweb.com/renderimage;type=a;num=1000</a>? (if I paste it in browser) </p>

<pre><code>document.write("&lt;img src='http://demoweb/?ct=0:abg22&amp;adv=43nn3gg&amp;fmt=2' width='1' height='1' border='0'/&gt;");
</code></pre>
