# Get the modified HTML out of the editor to send back to my application

I need to send the modified HTML as a parameter in a URL back to my application

##### Post Metadata
- Posted at: almost 7 years ago
- Author title: Sr. Systems Engineer
- Net upvotes: 1


## Comments
### Comment 1

&lt;textarea id=&quot;tinyEditor&quot;&gt;&lt;/textarea&gt;

You can use the getContent method:

// returns a string
var tinyContent =  tinyMCE.getContent(&#39;tinyEditor&#39;);
// encode for url
tinyContent = encodeURIComponent(tinyContent);

:)

##### Comment Metadata
- Posted at: over 6 years ago
- Author title: Web Developer




## Related Product
[TinyMCE](https://www.g2.com/products/tinymce/reviews)

## Related Category
[WYSIWYG Editors](https://www.g2.com/categories/wysiwyg-editors)

## Related discussions
- [How well does Trello scale into a larger team?](https://www.g2.com/discussions/1-how-well-does-trello-scale-into-a-larger-team)
  - Posted at: about 13 years ago
  - Comments: 6
- [Can we please add a new section](https://www.g2.com/discussions/2-can-we-please-add-a-new-section)
  - Posted at: about 13 years ago
  - Comments: 0
- [Quantifiable benefits from implementing your CRM](https://www.g2.com/discussions/quantifiable-benefits-from-implementing-your-crm)
  - Posted at: about 13 years ago
  - Comments: 4


