How to use jQuery to clear (and reinstate if necessary) default values in a Drupal 7 webform in 5 easy steps.

1. Create the file 'clear-defaults.js' and place it into the js directory of your theme (attached below, rename to clear-defaults.js).

We recently delivered a project making extensive use of the Drupal Feeds module. While an excellent and hugely time-saving module, it didn't appear to be cleaning up after itself with regard to duplicate files.