#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); } )
}
  • This reply was modified 2 years, 10 months ago by edwardsmarkff.
  • This reply was modified 2 years, 10 months ago by edwardsmarkff.