Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Sandeep Kumar
Added: Mar 13, 2018 10:32 AM
Views: 12
Tags: no tags
  1. function WUresetFileUpload(element) {
  2.     element.wrap('<form>').closest('form').get(0).reset();
  3.     element.unwrap();
  4. }