jquery add href link code example Example: jquery set href of link $('.element').attr('href', newUrl);