please see an attached wireframe which roughly explains my question.
I am working on a settings page - see 'My Settings' selected in the secondary nav nested under another heading.
On this page, the user can change their photos and also some other settings. I was planning on having the 'Save' button disabled when the user lands on the page and then enabling it once the user has either changed a photo or one of the other settings - The 'Save' button will then become disabled again once the user clicks on it. The 'Save' button will keep the user on this page, the only way the user has of leaving this page is by clicking back in the browser or one of the primary / secondary headings at the top of the page.
I am a little unsure what the 'Cancel' button should do, or if it is even necessary but I am working with it there at the moment based on what was previously there before I started working on this - What would you expect the behaviour of the 'Cancel' button to be if you were a user on the page shown? (Both before and after any settings have been changed).
If you don't think the 'Cancel' button should be there, it would be great to hear your thoughts.