"Methods for Testing and Evaluating Survey Questions," Public Opinion Quarterly, v. 68 (2004): 109-130 (with M. Couper, J. Lessler, E. Martin, J. Martin, J. Rothgeb, and E. Singer).
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;
});
});