Skip to content

Instantly share code, notes, and snippets.

View SCOTT-HAMILTON's full-sized avatar

SCOTT-HAMILTON SCOTT-HAMILTON

  • France
View GitHub Profile
@Julian-Nash
Julian-Nash / upload.html
Created February 22, 2019 19:56
File upload with progress bar, cancel and percent complete - XMLHTTPRequest (Bootstrap 4)
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">