1. #1
    Ext User mkidder's Avatar
    Join Date
    Mar 2007
    Posts
    27
    Vote Rating
    0
    mkidder is on a distinguished road

      0  

    Default Equivalent ext function to jQuery.fn.trigger() ??

    Equivalent ext function to jQuery.fn.trigger() ??


    In jQuery I can do the following to programatically force a click event to occur on a Form submit button.

    $('#MySubmitButtonID').trigger("click");

    Is there an equivalent way to do this within ext? I have spent way too long on this and hope I am just overlooking the obvious. And, no, the form.onSubmit()/Submit() functions will not work for me, unfortunately. long story....

    Regards, Mike Kidder

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,781
    Vote Rating
    599
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Just use the underlying dom element:

    Code:
    Ext.get('whatever').dom.click();

  3. #3
    Ext User mkidder's Avatar
    Join Date
    Mar 2007
    Posts
    27
    Vote Rating
    0
    mkidder is on a distinguished road

      0  

    Default


    Thanks evant!

    I knew the answer was going to be easier than my explanation. A sure sign it is time to get some rest....

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..."