jQuery表单插件 - 在文件上传时未捕获TypeError [英] jQuery form plugin - Uncaught TypeError on file upload

查看:217
本文介绍了jQuery表单插件 - 在文件上传时未捕获TypeError的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我没有选择任何文件上传,当我只填写其他输入比邮政形式,没有问题,它的工作。但是当我选择一个图像上传文件比发布,我得到这个错误,但是当我看文件夹,我看到该文件上传。但是javascript失败了。

$ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $返回新的d.fn.init(a,b,g)}没有方法'handleError'

这里是我的代码,

 < form id =employeeaddformclass =classformenctype =multipart / form-data action =inc / employeeadd.phpmethod =post> 
< p>< input type =filesize =32name =my_fieldvalue =/>< / p>
< p class =button>< input type =hiddenname =actionvalue =image/>

< label for =nname>个人名称:< / label>
< input name =nnameid =nnametype =texttabindex =11/>
< br />

< label for =ninformation>信息:< / label>