I need to be able to select a value from a dropdown, get some data (based on the previous selected value) from a table using ajax, populate some field on the form.
E.g. I select an "email template" and the subject and body fields are populated by the text predefined in a table.
I have no problem doing all that, apart from entering the text in a textarea with the (TinyMCE) editor active.
I suppose that the text should be entered using a TinyMCE method.
Any hint on how to accomplish that? The best solution would be something editor independent, but I can go with a TinyMCE-only too.
Thank you
maxx
E.g. I select an "email template" and the subject and body fields are populated by the text predefined in a table.
I have no problem doing all that, apart from entering the text in a textarea with the (TinyMCE) editor active.
I suppose that the text should be entered using a TinyMCE method.
Any hint on how to accomplish that? The best solution would be something editor independent, but I can go with a TinyMCE-only too.
Thank you
maxx
Hi maxx,
If the editor is active then you will have to use a tinyMCE function, it depends on the editor's version, if you have J3.2 then it may be V4, otherwise it should be V3, the function itself can be found on Google or on the tinyMCE site!
Regards,
Max
If the editor is active then you will have to use a tinyMCE function, it depends on the editor's version, if you have J3.2 then it may be V4, otherwise it should be V3, the function itself can be found on Google or on the tinyMCE site!
Regards,
Max
This topic is locked and no more replies can be posted.