1. #1
    Ext User
    Join Date
    Mar 2008
    Posts
    11
    Vote Rating
    0
    hapershield is on a distinguished road

      0  

    Default How to get the key stroke in TextFiled

    How to get the key stroke in TextFiled


    Hi,

    In my application, i need to get the keystroke in a text field.
    This is required for allowing only some characters in the text field.
    How we can do this?
    I used as below
    var t =new Ext.form.TextField({

    width:24,height:20,

    listeners: {
    render: function(c) {
    c.getEl().on('keyup', onChange);
    }
    }
    });
    function onChange(e)
    {


    }

    But i dont know how to get the stroked key?
    Please let me know.

  2. #2
    Ext User tobinharris's Avatar
    Join Date
    Apr 2008
    Location
    Leeds, UK
    Posts
    34
    Vote Rating
    1
    tobinharris is on a distinguished road

      0  

    Default


    Do you want the keystroke so you can react to it and call a function?

    If so, the KeyMap might help:

    http://extjs.com/deploy/dev/docs/ (search for KeyMap)

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