Click here to Skip to main content
15,893,588 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi to everybody! I need some help.

I want to put emoticons and it look fine. I click on the icons and it apear on the textarea.

Simple IMG

Late i do this to get the content of text area and save it to db.

I use
Java
var text = tinymce.activeEditor.getContent();


the recuest is some strange.
When I get the content to an alert();

HTML
<p>hi world! (emoticon, and not the code, for example <img src="http://img.img.png"> )</p>


If I lok into the db I see;
HTML
<p>hi world!</p>


I think that it should see
HTML
<p>hi world!<img src='http://img/smile.png'></p>


Thankyou!!

What I have tried:

I try
relative_urls: true/false
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900