how to set anchor tag value in jquery code example
Example 1: get attribute value jquery href
var href = $(this).attr('href');
Example 2: jquery set href of link
$('.element').attr('href', newUrl);
var href = $(this).attr('href');
$('.element').attr('href', newUrl);