Quote:
Originally Posted by david_kw
I'm not aware of any way that your javascript can have access to a file on the local system without gonig through your server first. So the way I'd probably set it up is to use the input type="file" form to send it to the server then use ajax to poll when the upload is complete and download the bits you want for display.
Maybe someone else knows a better way.
david_kw
|
this what i want to do.
i plan had a upload file function and let the user upload the file to server.
* only limit to excel file.
all this process are done with AJAX.
we assume that we had 1000 file of line in the excel file. How can i separate the file and return to user in different time? but the user do not need to execute the function.
for example:
when upload complete, it return 1st 50 line, then continue with next 5 line. But the user not need to execute the process.
and the user jz see the result on the screen and a msg was show to user the process was running.
can any one tell whether & how the javascript can access the local file, if the javascript can done it.
thanks.
how about we can insert a box by using javascript and inside had the contents of the file upload? the box must had fix height and weight as well as can insert html tag....like the textarea.
thanks