1👍
✅
Try the next code to find an ‘id’ attribute of an element:
$( event.target ).attr( 'id' )
Source:stackexchange.com
1👍
Try the next code to find an ‘id’ attribute of an element:
$( event.target ).attr( 'id' )