code: function (element, options) {
      this.$element = $(element)
      
      this.$input = this.$element.find(':file')
      if (this.$input.length === 0) return
  
      this.name = this.$input.attr('name') || options.name
  
      this.$hidden = this.$element.find('input[type=hidden][name="' + this.name + '"]')
      if (this.$hidden.length === 0) {
        this.$hidden = $('<input type="hidden">').insertBefore(this.$input)
      }
  
      this.$preview = this.$element.find('.fileinput-preview')
      var height = this.$preview.css('height')
      if (this.$preview.css('display') !== 'inline' && height !== '0px' && height !== 'none') {
        this.$preview.css('line-height', height)
      }
          
      this.original = {
        exists: this.$element.hasClass('fileinput-exists'),
        preview: this.$preview.html(),
        hiddenVal: this.$hidden.val()
      }
      
      this.listen()
    }
docs: FILEUPLOAD PUBLIC CLASS DEFINITION =================================