$(document).ready(function () { $('.page-workers-compensation-insurance #section_0 a.learnmore').attr('href', "#section_5" ); }); $(document).ready(function () { $('.page-professional-liability-eo-insurance #section_0 a.learnmore').attr('href', "#section_4" ); }); $(document).ready(function () { $('.page-landlord-liability-insurance #section_0 a.learnmore').attr('href', "#section_6" ); });