没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
这是一款超简单的文件上传插件,html以表单提交的方式提交,按钮依旧是submit属性,然后选中该form表单,在submit方法里面写个function(){在这里调用该插件的ajaxSubmit方法即可成功提交,此时返回的数据是字符串,只要调用json.parse即可转换成json对象}具体操作$('from').submit(function()){$(this).ajaxSubmit(){function(data){这个是请求成功回调函数,可以按个人需求做不同的处理 }}}
资源推荐
资源详情
资源评论
收起资源包目录
form-master.zip (41个子文件)
form-master
composer.json 728B
.travis.yml 105B
LICENSE-LGPLv3 7KB
docs
_layouts
default.html 3KB
assets
css
style.scss 58B
_config.yml 474B
options.md 6KB
api.md 3KB
Gemfile 73B
faq.md 2KB
_sass
style.scss 239B
.gitignore 33B
index.md 2KB
package.json 1KB
test
test.js 26KB
img
submit.gif 2KB
test.html 7KB
ajax
doc-with-scripts.html 500B
json.txt 25B
text.html 299B
json.json 25B
script.txt 48B
test.xml 72B
.eslintrc.js 512B
gulpfile.js 511B
_config.yml 27B
install
pre-commit.sh 177B
template
shell.hb 168B
CONTRIBUTORS.md 497B
LICENSE 1KB
dist
jquery.form.min.js.map 22KB
jquery.form.min.js 16KB
CONTRIBUTING.md 6KB
Gruntfile.js 1KB
src
jquery.form.js 40KB
.eslintrc.js 8KB
.gitignore 3KB
CODE_OF_CONDUCT.md 3KB
README.md 10KB
bower.json 716B
.editorconfig 410B
共 41 条
- 1
资源评论
dreamStart_Lin
- 粉丝: 9
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功