I have a text field which gets its value from a javascript calculator. This text field shows the total value so I do not want the user to edit it.

At the moment I have an onchange event which gives an alert when the user changes the value. What I want is for the page to reload once the alert has been pressed.

The Code for the onchange functions is nothing special but I am unsure how to get the page to load:

function stopit() {
alert("Error\nYou tried to change the total value. This form must now reload");

Any ideas