Hi, i´m triyng to send html textarea using ckeditor to a file php with jQuery, but php is not reciving the special characters like À, Ã, ...
HTML code:
jQuery code:
HTML code:
<form method="post" action=""> <textarea name="content" id="my-editor" cols="5" rows="5"> </textarea> <input type="button" id="botao" value="Ok"> </form>
jQuery code:
var editor = CKEDITOR.editor.replace('my-editor'); var content = editor.getData(); var fild="content="+ content; $.ajax({ type: "POST", url: "file.php", data: fild; }); <?php $content=$_POST['content']; echo $content; ?>
Re: How to get special characters on php using jQuery?
Re: How to get special characters on php using jQuery?
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Re: How to get special characters on php using jQuery?