Hi, I am trying to use the tinymce text editor, but am not being able to get the contents of the editor using jQuery , and also if I use the simple post method to get the value I get the text, but am not getting the image?
The code I tried using jQuery was:
$(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>
What am I doing wrong could anybody correct me, please?