function addSession(id) {
  $(id).parents('.slds-expression').find('ul[role="session-row"]').append(sessionTemplate);
  var prnt = $(id).parents('.slds-expression');
  prnt.find('.slds-expression__group').find('.slds-text-heading_medium').each(function(index) {
    $(this).html('Session ' + (index+1))
  });
}
// Function to add additional hero session
Function to add additional hero session
Function to add additional hero session
function addSession(id) {
  $(id).parents('.slds-expression').find('ul[role="session-row"]').append(sessionTemplate);
  var prnt = $(id).parents('.slds-expression');
  prnt.find('.slds-expression__group').find('.slds-text-heading_medium').each(function(index) {
    $(this).html('Session ' + (index+1))
  });
}
function addSession ( id ) { $ ( id ) . parents ( '.slds-expression' ) . find ( 'ul[role="session-row"]' ) . append ( sessionTemplate ) ; var prnt = $ ( id ) . parents ( '.slds-expression' ) ; prnt . find ( '.slds-expression__group' ) . find ( '.slds-text-heading_medium' ) . each ( function ( index ) { $ ( this ) . html ( 'Session ' + ( index + 1 ) ) } ) ; }
Function to add additional hero session
Function to add additional hero session