Menu
i have a die game where the user is allowed 20 rolls and after that the user must refresh the page. when the reset button if pressed the form clears all data yet when roll is pressed after that the game wont play. i can refresh the page using the refresh button in the browser but it wont clear the form.
how can i have a button that will both reset the entire game (so the roll count starts from 0 again) and clear the form?