If I have a TinyMCE text field like:
<item name="CSRNote" colspan="2">
<label>CSR Note: </label>
<description>Enter the CSR specific comments in this area</description>
<textarea external-editor-inline="t" external-editor="tinymce" external-editor-config="CeridianCanada" cols="65" rows="10" wrap="virtual">
</textarea>
</item>
How do I capture it's on item chage event?
Normally I would do:
IWEventRegistry.addItemHandler("/CSRNote", "onItemChange", changeCSRproductgroup);
But this does not work.
Also, how would I go about grabbing the text that is in said TinyMCE field. Normally I'd do something like:
var csrNoteitem = IWDatacapture.getItem("/CSRNote");
var csrNoteText = csrNoteitem.getValue();
But that doesn't work either.
TIA. John
Forgot to add, I am using Teamsite 7.4