read csv file in iframe as text file
- From: sukhmeet@xxxxxxxxx
- Date: Mon, 14 Jan 2008 23:18:28 -0800 (PST)
Hi,
I am trying to load a csv file in Iframe element. I just want to
load it as a text file.
however when i load the file in iframe it asks to open the file and
finally opens it with excel in IE window itself. If i save the save
file as .txt it is being read properly.I need to save the file in csv
format only so that it can be edited externally with excel easily.
Later on i want to display the read csv file in javascript and do some
processing on it.
Does any know how do this. The basic problem is to stop IE from
invoking excel to open csv file and instead read the file as text.
Following code works for .txt file
<iframe name="loader" id="frm" width="1000" height="300"
style="visibility:hidden;display:none" src="Book1.txt"></iframe>
and when i use this line it tries to open the file using excel which i
don't want.
<iframe name="loader" id="frm" width="1000" height="300"
style="visibility:hidden;display:none" src="Book1.csv"></iframe>
Any suggestions?
Thanks
Sukhmeet
.
- Follow-Ups:
- Re: read csv file in iframe as text file
- From: Doug Gunnoe
- Re: read csv file in iframe as text file
- From: Bart Van der Donck
- Re: read csv file in iframe as text file
- Prev by Date: Re: string length and newlines
- Next by Date: Re: ajax dont take js fucntion ?????????
- Previous by thread: animation :
- Next by thread: Re: read csv file in iframe as text file
- Index(es):
Relevant Pages
|