Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- David Dorward
July 10, 2003, 2:25 pm
rate this thread
Then use a Preprocessor.
David Dorward http://david.us-lot.org /
Redesign in progress: http://stone.thecoreworlds.net /
Microsoft announces IE is dead (so upgrade):
Re: How can I add html code from another file ?
As David rightly pointed out in another reply to your post, you really need
server-side scripting for that. Another work around that I can think of
would be to have the text information in the js file, which you use methods
to access and includes into your html. Then just change the js file each
time the info change.
Its because its dangerous to access file client side that's why there's no
easy way without server side scripting.