I have a form to edit a field in a database. I want to display a confirmation dialouge if one checkbox is changed from the default value. ie if it's ticked when the load the page and they untick it I want the confirmation box to come up.

Thanks for any help