jQuery(document).on('click', 'a[href*="#"]', function(e) { e.preventDefault(); }); This photo is ©