Reputation: 115
Am using tinymce editor with in popup. When am trying to get all field values using name attribute of html am not able to get field values. It returns just empty object only.It returns always like this. [object Object] : "" Please suggest any solutions. Thanks in advance.
Upvotes: 1
Views: 98
Reputation: 1952
Try this:
var html = tinyMCE.getInstanceById('<%= txtComments.ClientID %>').getBody().innerHTML;
Upvotes: 1