I have a javascript file that I am using to pull in links that is stored in a .js file.
--------------------HTML Code:<script src="http://someserver.com/script.js"></script>
script.js
--------------------
Code:document.write("<a href=\"http://yahoo.com">Yahoo.com</a><p>"); document.write("<a href=\"http://google.com">Google.com</a><p>"); document.write("<a href=\"http://hotbot.com">Hotbot.com</a><p>");
This is working great however if you look at the HTML source of the page it shows the above script src call. Is there anyway to have the source code actually print this in the HTML on the page:
Instead of this:HTML Code:<a href="http://yahoo.com">Yahoo.com</a><p> <a href="http://google.com">Google.com</a><p> <a href="http://hotbot.com">Hotbot.com</a><p>
HTML Code:<script src="http://someserver.com/script.js"></script>





Bookmarks