And, you should use a server-relative path for the JSP URL rather than a page-relative one. When you click on the button, something interesting happens with the URL. How ever, make sure the type of the button is submit and not button. If you put the button tag element in a webpage it will look like this. How to Redirect to Another Page in Django. Redirection is an integral part of modern website. This is a wrapper around our old friend the HTML anchor, but has the added benefit that it automatically knows where your components are and can adjust the style of a link to make it look active when it's the page the user is currently browsing. location = 'URL' will set where to redirect to when the button is clicked. . ; Browsers present this button according to the host platform. When you move the mouse over a link, the mouse arrow will turn into a little hand. P.S. Figure 1. The Link Button widget is a button you can nest in any other widget that links to another destination. How to redirect to a page after alert button is pressed. What submit button was pressed? That "automatically … It'll be less fragile. You can use Response.Redirect to redirect to page2 on button click. Let’s see how actually linking of pages can be done using HTML is as follows: Syntax: I'm out of guesses? Here are the options for button actions: Back returns the user to the previous page of the report. Hi @gauthambr ,. Click on HTML. After clicking on ok button, you want to redirect the page to another page. However, if you want to redirect the page when an event occurs, such as when the user click on a button element, you can just use the window.location.href = "page_url", which produce the similar effect when someone click a link to navigates to other page.. Learn: How to redirect to another page in PHP?This article contains complete tutorial on redirection in PHP, which you can use to redirect from one page to another. After adding the Button widget to the page, you will see the Button widget settings on the left-side panel. Tip: Click on images to make them larger. Omit the silly "javascript:" prefix. But i donno how to redirect to another view while clicking this button . How to use JavaScript to redirect an HTML page? Mainly it will be used for triggering and call the function wherever the user needs to click on the button. Make the same changes to about.html – remove the old link, add the SAME