Kreuter F, McCulloch S, Presser S, Tourangeau R (2011): The Effects of Asking Filter Questions in Interleafed Versus Grouped Format, Sociological Methods and Research, 40, 1, 88-104.
var url = document.location.toString();
if (url.match('#')) {
$('.nav-tabs a[href="#' + url.split('#')[1] + '"]').tab('show');
}
// Change hash for page-reload
$('.nav-tabs a').on('shown.bs.tab', function (e) {
window.location.hash = e.target.hash;
});
});