#103504
edwardsmarkff
Participant

this did not work:

for ( const [key, value] in document.getElementsByClassName('smart-icon-delete') )
{      let thisVal = document.getElementsByClassName('smart-icon-delete')[key] ;
. . . . console.log(thisVal);
. . . . console.log (typeof thisVal) ;
. . . . thisVal.addEventListener('click', (event) => { console.table(event); } )
}