JavaScript: detect uploading form image finished
Is there any chance to handle when form submit finished( ok or error )? I want to upload images or mulitpart data without javascript libraries . For example, user clicks submit button, after uploading data server responds with error or success response. Depending on that result I need to do something. Here is example form: <form method="post" enctype="multipart/form-data" action="/upload_file"> <input type="file" name="upload_image" /> <input type="submit" value="Submit" /> </form> Since I've not access to the server side, I need to solve this problem on the client side. That's why I couldn't