I have page which has several RichText elements associated with a field. For each row of the model, that field will be translated to a RichText element. I need to monitor the keyup or input changes for that given field so, given a scenario, I can perform some conditional translation (not similar to mustache).
Something similar to this:
$(document).ready(function() {
// Replace "formId" with the ID of your form
$('#formId textarea').keyup(function() {
// Get the value of the textarea that triggered the keyup event
var text = $(this).val();
console.log(text); // You can replace this with any action you want to perform with the text
});
});
Anyone know if this is possible?