//Change an attribute of an element
jQuery('.target-class' ).attr( "attribute", "value" );
//Example: Opening link in new tab:
jQuery('.field--name-field-linkedin a' ).attr( "target", "_blank" );
//Example: Changing img src (buggy sites):
jQuery('#block-socialmediaandimageblock-securian > div > div > div:nth-child(1) > a > img').attr('src','https://www.sfagreatlakes.com/modules/custom/aw_securian/images/logo.png');