$(document).ready(function(){ $('a.Tab.NormalTab[href="/Citizens/default.aspx"]').attr('href', 'http://www.townofchelmsford.us/').find("div > span").text("Home"); $('a.Tab.NormalTab[href="/Citizens/calendar.aspx"]').attr('href', 'http://www.townofchelmsford.us/Calendar.aspx'); $('a.Tab.NormalTab[href="/Citizens/UserDiscussion.aspx"]').attr('href', 'http://www.townofchelmsford.us/AgendaCenter').find("div > span").text("Agendas");; });