“Bulma -Datei Upload” Code-Antworten

Bulma -Upload -Datei

<!-- with name setup -->
<div class="file">
  <label class="file-label">
    <input class="file-input" type="file" name="resume" onchange="showName(event)">
    <span class="file-cta">
      <span class="file-icon">
        <i class="fas fa-upload"></i>
      </span>
      <span class="file-label" id="file-name">
        Choose a file…
      </span>
    </span>
  </label>
</div>

<script>
  var fileName = document.getElementById("file-name")
  function showName(event){
	fileName.innerText = event.target.files[0].name;
  }
</script>
Himanshu Jangid

Bulma -Datei Upload

<div class="file">
  <label class="file-label">
    <input class="file-input" type="file" name="resume">
    <span class="file-cta">
      <span class="file-icon">
        <i class="fas fa-upload"></i>
      </span>
      <span class="file-label">
        Choose a file…
      </span>
    </span>
  </label>
</div>
Poor Pollan

Ähnliche Antworten wie “Bulma -Datei Upload”

Fragen ähnlich wie “Bulma -Datei Upload”

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen