how to handle popup in javascript code example
Example 1: how to open a new html page on button click in javascript
<button id="myButton" class="float-left submit-button" >Home</button>
<script type="text/javascript">
document.getElementById("myButton").onclick = function () {
location.href = "www.yoursite.com";
};
</script>
Example 2: how to open new form on button click in c# xamarin
private void button1Click(object sender, EventArgs e)
{
App.Current.MainPage = new settings();
}