1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    79
    Answers
    7
    Vote Rating
    1
    jonathansimmons is on a distinguished road

      0  

    Default Answered: send an array through params Ext.Ajax

    Answered: send an array through params Ext.Ajax


    I need to send the equivalent of

    http://example.com?event[completed]=true& event[name]=sample

    but just not sure how to do this. I can easily get a singly value through just using params like below
    Code:
    params: {
    	auth_token: user.authtoken,
            another_key: 'some value'
    }
    I just can't work out how to send a array of data through. I've tried quite a few different things. anyone know how to do this?

  2. Found the answer here http://www.sencha.com/forum/showthre...ay+ajax+params

    just wrap the key in quotes. like so:

    Code:
    params: {
    	"event[completed]": true
    },

  3. #2
    Sencha User
    Join Date
    Nov 2011
    Posts
    79
    Answers
    7
    Vote Rating
    1
    jonathansimmons is on a distinguished road

      0  

    Default


    Found the answer here http://www.sencha.com/forum/showthre...ay+ajax+params

    just wrap the key in quotes. like so:

    Code:
    params: {
    	"event[completed]": true
    },

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..." hd porno faketaxi