function addAttribute(id) {
  var cnt = $('#addAttribute').html();
  var newId = '#' + $(id).parents('.slds-tabs_default__content').attr('id').replace('-profile', '-attributes');
  $(newId).append(cnt);
}
// Function to add additional hero attributes
Function to add additional hero attributes
Function to add additional hero attributes
function addAttribute(id) {
  var cnt = $('#addAttribute').html();
  var newId = '#' + $(id).parents('.slds-tabs_default__content').attr('id').replace('-profile', '-attributes');
  $(newId).append(cnt);
}
function addAttribute ( id ) { var cnt = $ ( '#addAttribute' ) . html ( ) ; var newId = '#' + $ ( id ) . parents ( '.slds-tabs_default__content' ) . attr ( 'id' ) . replace ( '-profile' , '-attributes' ) ; $ ( newId ) . append ( cnt ) ; }
Function to add additional hero attributes
Function to add additional hero attributes