How Do I Debug "Invalid Argument" Ajax Error?
I'm getting an Ajax error in Internet Explorer 8 and 9; no other browsers have a problem. By inspecting the jqXHR object, I can see the error string is "Error: Invalid Argument". This seems to be a generic Internet Explorer error not specifically related to Ajax - the HTTP request doesn't even happen. The problem is, jQuery seems to be catching this error. I can't get a backtrace or anything. How am I meant to find out where IE is throwing this error?
I'm seriously frustrated right now. This is something I should be able to debug in a minute, not hours. Any and all help is much appreciated.