1. #1
    Sencha Premium Member
    Join Date
    Jan 2008
    Posts
    24
    Vote Rating
    0
    yade is on a distinguished road

      0  

    Question enable/disable

    enable/disable


    Hi,

    I need to understand the difference.

    //This works in both explorer and in firefox
    document.getElementById('submit').disabled = false;

    //This does not work with neither explorer nor firefox
    //I have tried all four variants
    Ext.get('submit').disabled = false;
    Ext.get('submit').disable = false;
    Ext.get('submit').enable();
    Ext.get('submit').enable = true


    Greatful for some advice what I am doing wrong.

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    89
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    Ext.get() returns an Ext.Element, not a HTML node!

    Use:
    Code:
    Ext.get('submit').dom.disabled = false;
    or
    Code:
    Ext.getDom('submit').disabled = false;

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