Created
          March 12, 2018 14:40 
        
      - 
      
- 
        Save greghunt/10b36aa8c738f8aaa39e7d787f7d2b87 to your computer and use it in GitHub Desktop. 
Revisions
- 
        greghunt created this gist Mar 12, 2018 .There are no files selected for viewingThis file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ $("[data-autosubmit]").on('change', function(){ $(this).parents("form").submit(); });