Hello, I have been working the last few hours and can't seem to figure out what is wrong with this code. I'm doing an internship and do programming in PHP for a company. I need help because I am not very familiar with javascript and ajax (But I program in many languages, and can pretty easily find what it is doing). The business's website has it's own custom libraries and such, but I'm sure you will get a good description of how it works when you read the code.
This is the code of the page: http://pastebin.com/xU3v0fSD
The problem is that the submit button does not run any code when you click it. I have another page formatted like this one and it works perfectly. When the button is pushed it is supposed to execute function UpdateSettingsForuser() but doesn't even execute it or display an error of any sort.
If someone could help it would be greatly appreciated!