Tuesday, October 27, 2009

TinyMCE: Nothing In Textarea

If you want to get the value of the <textarea> through some method other than just hitting "Submit", you're dealing with some kind of <iframe> jiggery-pokery. A good old-fashioned Prototype $(editor_id).value won't get the job done; in this instance, you need tinyMCE.get(editor_id).getContent().