Created
March 25, 2019 20:02
-
-
Save starwels/6352240b25ab02eba52cf767184ede8f to your computer and use it in GitHub Desktop.
This file contains 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 characters
Event delegation | |
$(document).on('turbolinks:load',function() { | |
employees_table_list(); | |
}).on('ajax:success', '#employee-form', function(){ | |
employees_table_list(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment