javascript - Interim message when downloading a file -


on website have option display data , download in csv format. of data quite large (20,000 - 900,000 rows in sql). when display on site use paging displays x amount of rows @ time, however, download link of course should , downloading entire report can take several seconds couple of minutes depending on file size. i'm wondering if there way create interim pop-up or message in-line says "gathering information..." additionally put animated gif user knows happening. creating shouldn't issue i'm not sure if there way trigger disappear once download pop-up appears. solutions i've seen on site suggest using timer, thats not option in case times vary lot.

i'm using classic asp use either or javascipt. additionally use flash if makes difference.

i wire "gathering info..." message hidden upon receipt of comet style message server sent out file ready download on end.


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -