Skip to content

Instantly share code, notes, and snippets.

@ritalin
Last active December 21, 2015 00:09
Show Gist options
  • Save ritalin/6218210 to your computer and use it in GitHub Desktop.
Save ritalin/6218210 to your computer and use it in GitHub Desktop.
$selectedFile =
$(this)
.map(function(i, elem) { return elem.files; })
.first()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment