• ferozkhan
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 5
    Replies

Hi All,

 

I am try to get the content body information of the textarea using javascript or jquery.

 

 

<apex:inputTextarea value="{!event_badge__c.Name_Badge_Body__c}" id="event_badge_text" styleClass="event_badge_text" richText="true"/>

 

am using richText="true" didnt get any information using javascript.

 

var con = document.getElementById("j_id0:event_from:j_id5:j_id13:event_badge_text___Frame").contentWindow.document.body.innerHTML;    alert(con);

 

using this code only get first iframe content but i didnt get the content inforamtion of the textarea.

 

if any one have anu idea about this issue why its happening?

 

Thanks & Regards

Feroz

Hi All,

 

I am try to get the content body information of the textarea using javascript or jquery.

 

 

<apex:inputTextarea value="{!event_badge__c.Name_Badge_Body__c}" id="event_badge_text" styleClass="event_badge_text" richText="true"/>

 

am using richText="true" didnt get any information using javascript.

 

var con = document.getElementById("j_id0:event_from:j_id5:j_id13:event_badge_text___Frame").contentWindow.document.body.innerHTML;    alert(con);

 

using this code only get first iframe content but i didnt get the content inforamtion of the textarea.

 

if any one have anu idea about this issue why its happening?

 

Thanks & Regards

Feroz