SHARE
TWEET

Untitled

a guest Jun 26th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="input-group">
  2.           <div class="input-group-prepend">
  3.             <span class="input-group-text" id="inputGroupFileAddon01">Imagen</span>
  4.           </div>
  5.           <div class="custom-file">
  6.  
  7.             <input type="file" class="custom-file-input" id="imagen"  name="imagen"   capture="camera" accept="image/*">
  8.  
  9.             <label id="casillaFileName" class="custom-file-label" >Examinar...</label>
  10.           </div>
  11.         </div>
  12.      
  13. $('.custom-file-input').on('change', function(event) {
  14.             var inputFile = event.currentTarget;
  15.             $(inputFile).parent()
  16.                 .find('.custom-file-label')
  17.                 .html(inputFile.files[0].name);
  18.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top