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