click
var button = document.getElementById('send'); button.addEventListener('click', function(){ console.log('hurra kliknięto'); });