Solution 1 :

you can try this. It might do the trick for you

<input type="button" onclick="window.location.href = '';" value="Redirect"/>

Solution 2 :

Use this code:

<!DOCTYPE html>

<button onclick="redirect()">Redirect</button>

function redirect() {


Problem :

I have tried many diff ways like using forms or script but i still cannot get it. this are my current codes. Thank you

<button name="nextpg" onclick="redirect()" class="mb-3 signup-btn" >Reset my password</button>

 <script type="text/javascript">
function redirect()
var url = "";


Comment posted by chloe ong

doesnt seem to work i just geta ? beside the original link