I am writing an XHTML form, and I need a little help. I have used a button to allow the user to reset. When the alert triggers, I want it to give them the option to proceed or cancel, but all I am getting is an 'Ok' which will run the reset anyway. Any help is greatly appreciated, as I am new to HTML. Thanks.
Edit: I am now using confirm, but either button click in the confirm box are proceeding with the reset of the form anyway.