我正在尝试使用 tinymce 文本编辑器,但无法使用 jQuery 获取编辑器的内容,并且如果我使用简单的 post 方法获取值,我会得到文本,但没有得到图像?
我尝试使用 jQuery 的代码是:
$(document).ready(function()
{
$("#save").click(function()
{
$.post("test_skin_dump.php",{
data_info:$("#elm2").html;
} ,function(data) {
if(data)
{
$("#show_result").html(data);
}
});
});
});
<textarea id="elm2" name="elm2" rows="15" cols="80" style="width: 80%">
</textarea>
我做错了什么,有人可以纠正我吗?