Probably a daft oversight but I have an HTML form similar to this:
<form onsubmit="updateProfile();">
<input type="submit" value="Update Account">
..
...
</form>
And:
function updateProfile() {
// never gets here
};
I set a breakpoint in the updateProfile()
function but when I click the Update Account
button it never gets there.
Can anyone give me a likely explanation?