I have created a webform file with login.aspx. But when i am clicking on the button the page is getting refreshed and the javascript function is getting called instead what i want is that after clicking on the button the page should not get refreshed and should be able to invoke the javascript function?
<html>
<body>
<form runat="server">
<button id="formsubmission" onclick="myfunction()"> GetData </button>
</form>
</body>
</html>