From http://api.jquery.com/reset-selector/