1. #1
    Ext User
    Join Date
    Jun 2010
    Posts
    7
    Vote Rating
    0
    apw is on a distinguished road

      0  

    Default Ext.form.Checkbox - try to get the label element

    Ext.form.Checkbox - try to get the label element


    Hello Guys,

    I´m trying to get the label element of a ext checkbox. I found a solution but i´m not happy with it.

    My solution:
    labelEl = Ext.get("x-form-el-fav-animal-dog").child("label.x-form-cb-label");

    So i hope somebody have a better solution.

    Checkbox id: 'fav-animal-dog'


    Best Regrads

    Andy

  2. #2
    Sencha User laurentParis's Avatar
    Join Date
    Aug 2010
    Location
    paris
    Posts
    246
    Vote Rating
    2
    laurentParis is on a distinguished road

      0  

    Default


    Code:
    var label = Ext.getCmp("fav-animal-dog").label;

Similar Threads

  1. Ext 2.2 - Checkbox label click does not change value
    By smit_al in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 26 Apr 2009, 9:58 PM
  2. In EXT2.0 I used the Component EXT.form.Label-Doubts in EXT.form.Label
    By sorna_lavanya in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 26 Sep 2008, 1:31 AM
  3. Form Element Events : fired on label also
    By ext_fan in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 5 Aug 2008, 6:39 PM
  4. Replies: 8
    Last Post: 13 Jul 2008, 11:25 PM
  5. Hiding form element with label
    By KajaSheen in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 28 Apr 2008, 7:59 PM

Thread Participants: 1

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