Answers for "File Upload Button and display file javascript"

0

File Upload Button and display file javascript

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<form>
  <label for="file-upload" class="custom-file-upload">
    <i class="fa fa-cloud-upload"></i> Upload Image
  </label>
  <input id="file-upload" name='upload_cont_img' type="file" style="display:none;">
</form>
Posted by: Guest on October-16-2020
0

upload button in html

<form action="/action_page.php">
  <input type="file" id="myFile" 
  name="filename">
  <input type="submit">
</form>
Posted by: Guest on September-28-2020
1

File Upload Button and display file javascript

.custom-file-upload {
  border: 1px solid #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}
Posted by: Guest on October-16-2020
1

javascript upload file button

<input id='fileid' type='file' hidden/>
<input id='buttonid' type='button' value='Upload MB' />
Posted by: Guest on December-29-2020

Code answers related to "File Upload Button and display file javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language