| When parsing url from javascript source in writeln
function, the base reference should be document itself
(html) rather than JS.
For example,
if document a.html resides in / directory and includes
javascript source code /js/devta.js which uses writeln to
write URL into document a.html, the URL base reference
should be / and not /js/.
-Devta
| |