---
title: "同步提交数据有提示"
author: "bughope"
date: "2014-05-19T21:32:54Z"
tags: []
categories: ["编程语言"]
slug: "untitled"
draft: true
lastmod: "2014-05-19T21:32:54Z"
id: 2067106
url: "https://bughope.iteye.com/blog/2067106"
---

我们在上传文件的时候

ajax是不支持上传的

但是我们可以做一个假的异步上传.

即隐藏一个iframe

提交这个iframe

我们看到的就是刷新的iframe

再在返回的代码里面调用回调函数