Reply
reading from a text file
Old 08-10-2005, 04:08 PM reading from a text file
amaranth's Avatar
Average Talker

Posts: 16
is it possible to read from a text file in javascript? or to include a text file onto a page? (like include($filename) in php)
if not, can it be done without using php (or frames )?
__________________
~ I have seen life on this planet. That is why I am looking elsewhere. ~
amaranth is offline
Reply With Quote
View Public Profile Visit amaranth's homepage!
 
When You Register, These Ads Go Away!
     
Old 08-10-2005, 05:13 PM
chrishirst's Avatar
Super Moderator

Posts: 12,578
Location: Blackpool. UK
Basically No!

You could make an external script of lines of document.write() lines.

What about SSI ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-10-2005, 05:48 PM oh....
amaranth's Avatar
Average Talker

Posts: 16
well thats not good. i can't use ssi (not in this particular project anyway). i have thought of the document.write();s but that would eliminate any hope for creating a non-js requiring site without actually duplicating code. oh well... it was worth a try
__________________
~ I have seen life on this planet. That is why I am looking elsewhere. ~
amaranth is offline
Reply With Quote
View Public Profile Visit amaranth's homepage!
 
Reply     « Reply to reading from a text file
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.12209 seconds with 13 queries