skylord123 Posted October 28, 2011 Share Posted October 28, 2011 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! Quote Link to comment Share on other sites More sharing options...
trq Posted October 28, 2011 Share Posted October 28, 2011 What steps have you taken to debug the problem? Without knowing more about the specifics of how the framework your using works it's pretty hard for anyone to help you. It's impossible for us to replicate the issue for instance. Quote Link to comment Share on other sites More sharing options...
uday8486 Posted October 29, 2011 Share Posted October 29, 2011 Check whether you function is actually called on the page or not also check there are no other JS errors which might be causing the problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.