"Context Effects in Attitude Surveys: Effects on Remote Items and Impact on Predictive Validity," Sociological Methods & Research, v. 31 (2003): 486-513 (with R. Tourangeau 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;
});
});