0
我正在使用jquery tinymce。我正在使用下面的代码编辑tinymce中的图像。不幸的是,它不适用于ie7。我怎样才能使它在IE7编辑图像在jquery tinymce?
file="good.img";
id=2;
alt="alternate";
class="aligncenter"
title="title_of_img";
width=150;
height=150;
tinymce.activeEditor.$("img[src$='"+file+"']").attr({'id' : faq_media_id , 'alt' : alternate , 'class' : align , 'title' : title , 'width' : width , 'height' : height});
Thariama它不是在IE7工作。感谢您的帮助 – 2010-12-16 09:47:10
我刚刚安装了IETester以便能够在IE7环境下进行测试 – Thariama 2010-12-16 10:18:54
上面的代码甚至可以在IE7下工作 - 请告诉我您确切地调用了什么(您需要手头有editor_id并且编辑器中已经有图像了)为了使这项工作) – Thariama 2010-12-16 10:21:22