当前位置: 代码迷 >> Java Web开发 >> 请教 有没有办法获取到fckeditor插入的图片路径
  详细解决方案

请教 有没有办法获取到fckeditor插入的图片路径

热度:720   发布时间:2016-04-17 12:47:31.0
请问各位大哥 有没有办法获取到fckeditor插入的图片路径?


我自己已经高的崩溃拉!我已经在上传图片那个框架页面获得拉上传的图片地址但是我用window.opener把值写到发布页面的下拉框里的时候老是不成功啊。
代码如下
JScript code
//window.opener.document.getElementById('imgurl').options[window.opener.document.getElementById('imgurl').length] = new Option(document.getElementById('imgtxt').value,document.getElementById('imgtxt').value);


想要的效果如下图:


每往编辑期里加一个图片就把路径添加到请选择首页图片那个下拉框里上传几个添加几个让用户自己选择!用于图片新闻。

请高人们指点一二啊。谢谢拉。不知道我说的大家清除不?分不够再加!



------解决方案--------------------
//window.opener.document.getElementById('imgurl').options[window.opener.document.getElementById('imgurl').length] = new Option(document.getElementById('imgtxt').value,document.getElementById('imgtxt').value);


可有提示错误?

btw:mm很漂亮
------解决方案--------------------
有一个配置文件里面写了啊,
fckconfig.js
  相关解决方案