You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#117099 Events

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Rob Parker on Monday, 24 February 2025 21:01 GMT

Rob Parker

I need to get notified when a user edits a n item. I can easily do this in my form on text and textarea fields with code such as:

$("#form\\-gallery :input").not('.exclude').change(function() {
process_fa('input');
});

but there seems to be no equivalent that works with JCE - I have tried setting events on various elements but nothing seems to work.

Ryan

The editor only passes content to the input element, in this case a textearea, when the content is saved or when you switch to the Code tab. This process does not trigger the change event on the textarea however.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Rob Parker

Thanks - at the moment I rely on getting change notifications from other fields to determine which buttons (Save, Cancel etc) to enable/disable. Guess I will just have to not bother on forms with a JCE control