Created
June 10, 2015 09:25
-
-
Save vansosnin/784d527321f6ba938bc7 to your computer and use it in GitHub Desktop.
Clear input[type="file"]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var input = $("#control"); | |
function something_happens() { | |
input.replaceWith(input.val('').clone(true)); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment