iI have an htmlHTML button in my SharePoint hosted app like this:
<input type="button" id="btnSubmit" value="Test"/>
and I tried
<button id="btnSubmit">Test </button>
butBut it is always refreshing until I remove all the code from SharePoint and leave it as regular htmlHTML page.