Change default data-loading-text for bootstrap
javascript, jquery, twitter-bootstrap-3
Solution
You can 'initialize' your buttons with the data attribute when you load the page using standard jQuery:
$('button').data('loading-text', 'Bezig...');
OR, you can set the options for the button component like you would other components in Bootstrap:
$('button').button({loadingText: 'Bezig...'});
DEMO
Problem
Since I'm building a Dutch website I would like to have the loading text on bootstrap buttons in Dutch as well. By default the text is `Loading...` can I change this default without having to add `data-loading-text="Bezig..."` in every button?