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