I\'m trying to submit a form with a file field in it via jQuery.Form plugin, here\'s the code:
file
$(\'form\').ajaxSubmit({ url: \"/path\", data
I came up with the following workaround (in Zend Framework):
if (!$this->_request->isXmlHttpRequest()) { die(''.Zend_Json::encode($data).''); } $this->view->assign($data);