1. #1
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441
    Vote Rating
    1
    chrizmaster is on a distinguished road

      0  

    Default do something on buttonclick

    do something on buttonclick


    Hi there,

    i have this function:

    PHP Code:
    utilities.msgbox = function(p_title,p_msgp_buttonsp_type){
        
    Ext.Msg.show({
            
    titlep_title,
            
    id'btn',
            
            
    msgp_msg,
            
    buttonsp_buttons,
            
    animEl'elId',
            
    iconp_type,
            
    handler: function(btntext){
                if (
    btn == 'ok') {
                    
    window.location 'index.jsp';
                }
            }
        }); 
    but it's not working. It's not redirecting to the index.jsp. What's the problem here?

    Thx
    Chriz

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,499
    Vote Rating
    46
    Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    fn not handler

  3. #3
    Sencha User chrizmaster's Avatar
    Join Date
    Feb 2009
    Location
    Australia
    Posts
    441
    Vote Rating
    1
    chrizmaster is on a distinguished road

      0  

    Default


    aha,

    thank you very much. By the way, I looked at the debugger (again) but couldn't find something cause I used the wrong function as it seems..

    mhm I cant' find this fn thing in the api. What is this fn and where can I find a good example to learn for the future?

    Thanks

  4. #4

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