Clear a file field using JQuery

OK, so your end-user clicked on “browse” button and selected a file. Now he wants to remove it from that “File” field and wishes to start afresh, but he can not. And you want to fix this “bug”. You have most likely already visited this awesome discussion on StackOverflow http://stackoverflow.com/questions/1043957/clearing-input-type-file-using-jquery and tried the various solutions mentioned there.…

Read More