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.
I am using this, but when I go to view source I am not seeing any image..
function test()
{
document.write('<SCR'+'IPT SRC="http://demoweb.com/renderimage;type=a;num='+ 1000 +'?" type="text/javascript"></SCR'+'IPT>');
}
This retuns URL http://demoweb.com/renderimage;type=a;num=1000? (if I paste it in browser)
document.write("<img src='http://demoweb/?ct=0:abg22&adv=43nn3gg&fmt=2' width='1' height='1' border='0'/>");