Hi I have a problem when I need to get content from several text areas. Thus, I saw that tinyMCE has methods for retrieving content from a specific text area or from an active one, but how to do this is all the text areas that I have (note: the number of text areas is not static).
I was thinking of an option to create a dynamic identifier for each text area, and when I need to send content to iterate through all of them. Something like that:
for 0 to my textareas length var all content = tinyMCE.get('area1').getContent(); var all content += tinyMCE.get('area2').getContent();
Something like this, but I don't know if this is correct. Please help me solve this problem. thanks in advance
cyrat source share