Forum Moderators: open
I have a js file say 1.js and now from 1.js I need to include another file http://example.com/2.js, is it possible using js.
I cant use html as I am using xul.
It gives an error
Error: syntax error
Source File:
Line: 1
Source Code:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
In other words how to include an external file(from some other server) inside another js?
Aji
[edited by: BlobFisk at 8:45 am (utc) on June 24, 2005]
[edit reason] Examplified URL [/edit]