脚本报错如下:
XMLHttpRequest cannot load http://192.168.1.31:8080/upload/file. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.40' is therefore not allowed access. The response had HTTP status code 400.使用 ajaxSubmit 方式提交,火狐和ie 都可以,谷歌报上面的错误。
XMLHttpRequest cannot load http://192.168.1.31:8080/upload/file. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.40' is therefore not allowed access. The response had HTTP status code 400.使用 ajaxSubmit 方式提交,火狐和ie 都可以,谷歌报上面的错误。
解决方案 »
- 求个JS静态页面,效果是点击一个按钮,生成5个随机数,要不重复
- 父窗口的body里
- id 是不是不能含有/?
- 急急急:s1.search(sxx)搞不定,高手帮忙!!
- 初学者的问题
- WEB开发中Property Grid的实现
- 浮动的图层总是被其它图层覆盖(加急)
- 右键菜单取消问题
- 哪位有javascript参考手册CHM版?我本来有的误删了,以前那个lostinet也不能用了!!
- 怎么办!乱码!CSDN打开的帖子都变成了同一个纯文本页面:马丁 四级(中级) user4 100 1338117 请帮忙!~up有分 183376 happybeyond VB 基础
- easyui-textbox 多行文本框如何获取到值
- strophe.js群聊问题
其他浏览器应该太老未支持FormData用的iframe模拟可以提交成功,但是无法获取返回的数据,因为无法操作iframe对象