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