I know this question has been asked quite a lot - but all the answers I've found are quite old, and don't seem to work (for me, at least).
I'm using the following code to do a live preview from an input box
$('#attractionName').on('keyup', function() {
$('#preview-title').html($(this).val());
});
but obviously this doesn't work when using CKEditor. I found this answer on the topic, but it doesn't seem to work for me. My textarea code is
<textarea name="tickets-TicketDescription" class="ckeditor" id="tickets-TicketDescription"></textarea>
Can anyone please can help me figure out where I'm going wrong?
Thanks.