||View All MessagesBack to WebFX|
Thx, this is also how I felt like.
From: Erik Arvidsson
Sent: September 16, 2003
Subject: Re:The content of src on <script> tag
DOM stands for Document Object Model and since the content of the JS file is not part of the document you cannot acces it using DOM. If the file is valid JS the global namespace will most likely change due to the execution of the script. In that case you might be able to find some kind of info from it but you cannot get the text of the file.
You can use Xml Extras to read text files over HTTP.