Using Coldfusion I am running a loop over a csv file which could take some time, I am not displaying anything on the page really but would like to use a JQuery plugin that shows the status of the loop.
What would be the best way to achieve this and what plugin would be best? UI is not of importance at all
Thanks in advance!
Using cfflush I have done the following:
<cfflush>
<cfflush interval=1>
<!---LOOP THROUGH CSV FILE--->
<!---SET ROWCOUNT--->
<cfset loop_currentrow = 1>
<cfloop index="index" list="#file#" delimiters="#chr(10)##chr(13)#">
<!---DISPLAY PROGRESS--->
Completed row #loop_currentrow# of #debitresults.recordcount#<br />
<!---UPDATE THE ROWCOUNT--->
<cfset loop_currentrow = #loop_currentrow# + 1>
</cfloop>
Seems to work fine for what I wanted and learnt something new! Thanks @LifeOfBri_!