|
-
Apr 17th, 2003, 11:35 AM
#1
Thread Starter
Lively Member
Include JS inside JS?
Is it possible to open a Javascript file inside a Javascript file? Or
get data out of a other file/URL?
I tried to do a document.write '<SCRIPT language="javascript" src="include.js"></SCRIPT>'; but that didn't work.
-
Apr 18th, 2003, 02:44 AM
#2
Not that I know of. You could probably do some fancy trick using iframes, but it is not guaranteed to work.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Apr 18th, 2003, 05:54 AM
#3
Thread Starter
Lively Member
I managed indeed by using a hidden IFRAME.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|