Edit in JSFiddle
HTML
<button onclick="showResult">클릭</button>