Answers for "redirecting to a page with a specific id flask"

5

javascript modify url without reloading page

window.history.pushState('', 'New Page Title', '/new-url.php');
Posted by: Guest on July-22-2019
-2

how to redirect to another page in javascript on submit type

<script type="text/javascript" language="javascript">
function redirect()
{
    window.location.href="login.php";
}
</script>
<form  name="form1" id="form1" method="post">  
    <input type="submit" class="button4" name="order" 
        id="order" value="Place Order" onclick="redirect();" >
</form>
Posted by: Guest on December-19-2019

Code answers related to "redirecting to a page with a specific id flask"

Code answers related to "Javascript"

Browse Popular Code Answers by Language