Home  >  Q&A  >  body text

javascript - <input type="file">When the file is being uploaded, there needs to be a pop-up box prompting that it is being uploaded. The pop-up box disappears after the upload is completed. How to write this?

<input type="file">When the file is being uploaded, there needs to be a pop-up box prompting that it is being uploaded. After the upload is completed, the pop-up box disappears. How to write this?

代言代言2663 days ago888

reply all(2)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-07-05 10:53:48

    First of all, uploading is a method. Once you enter the method, it is uploading. You can trigger and open this pop-up window.
    In the request after uploading, no error is returned. Just close the pop-up window.

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-07-05 10:53:48

    A better implementation is to use HTML5 File API. For details, please refer to https://www.ibm.com/developer...

    reply
    0
  • Cancelreply