This is my code and the below submit button is not properly triggered during first click. During second click, the page get redirected to the next page using window.open() method. What could be the issue cause this?This is my code and the below submit button is