i want to check in Javascript whether the uploading process of my rails controller is complete. how can i do this? my intention is to get the amount of files that has been transfered (i'm doing some byte-checking in the controller and i decide wheter to upload or to keep the file on the client side).
is that even possible? i would do the upload in js but unless you cannot check the files in js i have to upload them via rails.
please help, kind regards