用的是CKEDITOR,处理上传图片
上传处理的程序,和editor所在程序不在同一个域下
以我本地为例:
http://localhost:3523/admin/SingleArticle.aspx?subid=12
以上的地址是editor所在的aspx,
ckeditor的配置:<script type="text/javascript">
                var editor = CKEDITOR.replace('content',{
                filebrowserUploadUrl : 'http://localhost/upload.aspx?forEditor=true'
              });
</script>upload后返回的结果:ar filePath = 'http://localhost/upfiles/20100311/20100311120055.jpg';
              var msg = '';
              var callback = '2';
              window.parent.CKEDITOR.tools.callFunction(callback,filePath,msg);
IE下可以执行,ff下没有反应.....
哪位帮助下..