> Sorry for the delayed response. I tried taking a break from it and > coming back to it with a fresh mind. It's not easy for me to set up a > page for you to test because the app requires a log in.
It is always helpful if you can simplify the problem down to a small test page. 90% of the time this is how people find the root of the problem. I realize it's not always easy to do this, but I encourage you to try if you get the time. > In Firefox, when a file is attached, the beforeSubmit AND success > handler are called. However, the POST action does not appear in > Firebugs Net > XHR panel so it seems that the post is not sent. I > figured out that the reason why my form is suddenly disappearing is > because in my success callback it is trying to grab "message" from the > responseXML but since the POST isn't really being sent, there is a > blank response. File uploads do not use ajax, so you will not see an entry in the xhr panel. Not sure what you mean by the 'blank response'. Is the responseXML null? Is the returned XML valid? > In Internet Explorer 6 however, the beforeSubmit is called but it does > not make it to the success handler. And since it doesn't make it that > far, my form does not disappear. Instead it is stuck in "Loading" as > noted in the comments of my JS below. The data is not saved. > > Any help you could give would be really helpful. I can't figure out > why the POST is not successful. Perhaps there is something wrong in my > JS? > Nothing obvious in your JS jumps out at me. Mike