I am creating a Sharepoint 2013 app which perform some task on a button click. When i use the control, the app page auto refreshes after few seconds after the click.
<button id="loadButton" title="loadButton" value="loadButton"></button>
But when i use a button control with input type, it works correctly.
<input type="button" id="loadButton" value="LoadButton"/>
Why does this happen?