Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
tornado post 请求返回结果如何输出到当前页面?
devoted2
·
Feb 16, 2020
· 2569 views
This topic created in 2289 days ago, the information mentioned may be changed or developed.
dropzone.js 上传文件插件如果添加其他元素到表单里来一起提交 post,需要阻止表单的默认行为 e.preventDefault(); e.stopPropagation();,如此一来,post 的返回结果只能在开发者工具的接口 response 看到,无法输出到当前页面也无法跳转到新页面。post 的后端处理逻辑是通过 tornado 实现的,请问有什么办法,可以将 post 的返回结果输出到当前页面吗??
post
Tornado
页面
表单
1 replies
•
2020-02-16 15:33:47 +08:00
1
676529483
Feb 16, 2020
开发者工具都看见返回了,和 tornado 就没关系了,看下 dropzone 的回调吧
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2847 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 466ea39e · 35ms ·
UTC 06:03
·
PVG 14:03
·
LAX 23:03
·
JFK 02:03
♥ Do have faith in what you're doing.
❯