Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Read from Text file

Status
Not open for further replies.

dbadmin

Programmer
Jan 3, 2003
147
US
Hi,

I am writing a java script which needs to read from a text file and display a date (format mm/dd/yy) in html. Is it achievable?

Thanks,
dbadmin
 
Where is the text file located? If on the server, then you should use server side scripting or AJAX.

Lee
 
Yep, I'll assume that you need to read a text file from the client's machine (otherwise you'd be using a server side language instead of javascript to do this).


If you're wanting to read a text file from the server then you might want to look into AJAX

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top