1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    United States
    Posts
    1
    Vote Rating
    0
    pschramm@opentext.com is on a distinguished road

      0  

    Question Replacing a <input submit> with a <href> withing ExtJS

    Replacing a <input submit> with a <href> withing ExtJS


    I have a simple ExtJS Grid that I've tied some custom JS validation to using EXTjs..

    I'd like to replace the forms submit Button w/ an HREF like below.. But I'm unsure how to get my HREF to fire the same validation events as the submit button?

    <input type="submit" value="Update Selections" class="primary"/> (works)

    <a href="javascript:document.forms['setSiteAccountsForm'].submit()" name="_submit">Update Selections</a> (doesn't catch the validation)

    ...
    onReady()
    Ext.get('setSiteAccountsForm').on('submit', function(e, t) {....validation.... etc}

    make sense?

    Sorry new to the JS side of this

    any help is appreciated -

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Have a look at the following:
    http://www.sencha.com/forum/showthread.php?186204

    Scott.

Thread Participants: 1

Tags for this Thread

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