<button type="button" id="btn">送出</button>
var btnID = document.getElementById('btn');
btnID.addEventListener('click', function() {
  console.log(this);
})

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.