Thursday, November 20, 2008

Ajax weirness

When doing an ajax call through javascript, sometimes it may seems like nothing is happening in firebug, instead it thrown an javascript error.
One thing to check is to make sure the permission is correctly setup in the ajax script. The problem i have is that when the php script get call, it upload an image to the server, if upload directory's permission not properly set up, the weirness of this ajax call occur.