Good morning ..
i am new in this form . ... and i stay learning .....
I have problems for get event chage , blur ecc. on textarea
i have read the many examples on line ... but these not work on my code ...
i have called on head page the file ckeditor.js and juery.js
this my extract
<form>
<textarea name='testo' id='idtxts' class="ckeditor" style="height: 250px; width: 100%;" >
<?php echo $resultquery ;?>
</textarea>
</form>
<script>
var tx=$('#idtxts').text();
var editx=CKEDITOR.instances['#idtxts'];
if(editx){editor.on('change'),function (event){
console.log(editx);</script>
if i print of console the var tx i get the print of $resultquery but
if i change the text and i would get the content on fly ?
Scuse me for my English .... Thank