x
 
1
<!DOCTYPE html>
2
<title>My Example</title>
3
4
<input id="go" type="button" value="Click me" onclick="confirm('Are you sure?');">