You can try to do the following:
$("#boutonAlerte").on('click', function(){
alert("Clicked!");
});
Then remove the onclick
from your button tag and make sure that you included the jQuery library in your HTML o course.
If you want to use JavaScript only you should do :