I need to write information from external script in my script. I have an html page with div, and This external script has many My question is how to implement But, is it possible to do something like this? It: and You can not load the javascript source file, which runs from any javascript The first initial page load is to come in the browser. The way a javascript reference can not be reached (technical reasons are unknown to me, I consider it to be security). You can run eval against javascript code block, but javascript file (reference). Write external script for div with window.onload .
document.getElementById ('test'). InnerHTML = '& lt; Script src = "http://www.klerk.ru/kurs/informer/informer_txt/?stcbrf=1" & gt; & Lt; / Script & gt; '; Eval (document.getElementById ('test') innerHTML.);
document.write , but it does not work.
document.write in fixed
div
& lt; Table & gt; & Lt; TR & gt; & Lt; TD & gt; & Lt; Script src = "http://www.klerk.ru/kurs/informer/informer_txt/?stcbrf=1" & gt; & Lt; / Script & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt;
document.write in
td ?
No comments:
Post a Comment