Skip to main content
1 of 3
Shang Hui
  • 53
  • 1
  • 3
  • 10

html Button refresh in SharePoint Hosted App

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 sharepiont and leave it as regular html page.

Shang Hui
  • 53
  • 1
  • 3
  • 10