How can I create a file upload option like this?
| Choose File |Browse_btn| |Upload_btn| |Cancel|
I've tried writing the code in HTML but I'm not getting the desired output.
Here is my HTML code:
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="row">
<div class="col-md-5" style="margin-right :20px; border: 1px solid #e5e5e5; height: 32px; margin-right: 40px;">
<div style="height: 32px;">
<input type="file" name="fileupload" value="fileupload" id="fileupload" style=" margin-right: 80px;" class="mt-3" />
<input type="submit" value="Upload" onclick="fnUpload()" class="btn blue">
<input type="button" value="Cancel" onclick="cancelUpload()" class="btn blue">
</div>
</div>
</div>
</body>
</html>