1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    18
    Answers
    1
    Vote Rating
    0
    jiancha is on a distinguished road

      0  

    Question Unanswered: How to get HTML content in a component

    Unanswered: How to get HTML content in a component


    hello,

    I created a component with "{xtype: 'component', html: '0',id: 'mycom'}" in a panel.
    and I want to click a button later by using Ext.getCmp('mycom').getEl().getHTML() and return me the content '0' without tag div, but it shows me "<div class= .....>0</div>".

    How can I get the content of html without <div></div> ?

    thanks,

  2. #2
    Sencha User
    Join Date
    May 2011
    Location
    Ukraine, Rivne
    Posts
    247
    Answers
    44
    Vote Rating
    42
    redraid has a spectacular aura about redraid has a spectacular aura about redraid has a spectacular aura about

      0  

    Default


    PHP Code:
    Ext.getCmp('mycomp').getEl().dom.innerHTML 

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    18
    Answers
    1
    Vote Rating
    0
    jiancha is on a distinguished road

      0  

    Default


    thanks for your answer !

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi