PDA

View Full Version : Firebug and enctype="multipart/form-data"



Domitian
21 Feb 2007, 11:20 AM
I'm noticing a strange thing with Firebug when the form has an enctype="multipart/form-data". My console doesn't appear to be tracking the Posts for forms with the enctype set. When I remove the enctype for the exact form. I'm able to track the post. Has anyone else noticed this problem?

Domitian
21 Feb 2007, 2:56 PM
Okay looking further into this, I think it may be due to the fact that when you upload files the YUI code creates a separate IFRAME that is masked from Firebug. On a further note, I'm trying to see what the error code is returned from the post. According to the response, it should be an error, but for some reason the oSuccess value is always coming back true even though I know it's otherwise from the server-side.