Hi dc dalton,
I cut down the code and made things confusing.
The web page displays a form. If the user wants to they can complete the form and click the Submit button. If they don't they can click "Cancel" to pushed to another page. That was me testing...ultimately I will be producing some code like this:
There is a record in a DB for each patient.
There may be multiple records in a another DB created for each patient when they are seen by the pain nurse.
If the nurse is entering a secondary record (I.e. DEtails of her visit, what painkillers are prescribed etc) and decides to cancel for some reason, she will need to be returned to the form listing the details for that patient.
So, clicking cancel should produce an alert box "Returning to patient record for XXX" followed by redirecting the user to the patient details form.
There is no real need for the alert but I would like to be able to forward, it just doesn't seem to work in any situation for Firefox or IPAQ which is odd as I have been using wnidows.location.href for years - maybe I just haven't tested properly?
I've tried it on more than one machine here as well but still no joy...
Thanks for your advice though.