文件上传到wcf使用jquery [英] file upload to wcf using jquery

查看:138
本文介绍了文件上传到wcf使用jquery的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,有一个文件上传控制。我想发送这个文件上传控制的内容到一个WCF服务使用jquery(没有张贴表单),这是可能的吗?

解决方案

是的,这是可能的。我使用 jQuery文件上传器这是一个脚本,它自动化了很多,也增加了很好功能就像停止下载,如果浏览器支持它。



这个例子可以帮助你开始。


I have a page where there is a file upload control. I want to send the contents of this file upload control to a WCF service using jquery ( without posting the form ), is that possible?

解决方案

Yes it's possible. I use jQuery file uploader which is a script that automates a lot of it and also adds nice features like the ability to stop a download if the browser supports it.

Examples there should help you get started.

这篇关于文件上传到wcf使用jquery的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆