button with alert message java script by jamna August 04, 2011 HTML <button onclick="alert('You clicked the button');"> Click here </button>