funtion dosomething(){ alert("You clicked me"); document.getElementById('button').innerHTML = "Hello world"; }