To make a multiline button in HTML you can use the following snippet.
Sample HTML
<input type="button" value="This
is
a
Multiline
Button">
To make a multiline button in HTML you can use the following snippet.
<input type="button" value="This
is
a
Multiline
Button">
To count button clicks in Javascript you can use the following snippet.
$('myButton') .data('counter', 0) .click(function() { var counter = $(this).data('counter'); $(this).data('counter', counter + 1); alert($(this).data('counter')); });
To create a reload page button you can use the following code snippet.
<input type="button" value="Reload Page" onclick="window.location.reload()" />