Page 1 of 1

Change select Menu value via ajax call

Posted: Thu Mar 20, 2014 6:49 am
by pritu patel

I have two select menu.
when i change value from first select menu the another select menu value will change using ajax.
I follow this url:
http://docs.appery.io/tutorials/build...
But i have Near about 20,000 or more city location.so the above link is array not possible to do easily.
so i want to change using ajax call for select menu value.
how It is possible??any suggestion??


Change select Menu value via ajax call

Posted: Thu Mar 20, 2014 7:28 am
by Nikita

Hello,

Why don't you make a mapping from service result to select component?
http://docs.appery.io/documentation/r...


Change select Menu value via ajax call

Posted: Thu Mar 20, 2014 7:51 am
by pritu patel

I will try If not done then i will ask to you.


Change select Menu value via ajax call

Posted: Thu Mar 20, 2014 7:52 am
by pritu patel

ok.Thank you


Change select Menu value via ajax call

Posted: Wed Mar 26, 2014 9:23 am
by pritu patel

I am trying to do select value of city and location from select menu
I have two select menu. cityselectmenu and location selectmenu

I call service on value change event of cityselectmenu.
But I got only one location in select menu.
How to retrive fulllist in selectmenu??
Image

Image


Change select Menu value via ajax call

Posted: Wed Mar 26, 2014 12:55 pm
by Maryna Brodina

Change select Menu value via ajax call

Posted: Thu Mar 27, 2014 6:05 am
by pritu patel

Thank you, it's solve now.
I want to pass selected value from selectmenu in url request .
I do it but not working properly..
Any mistake??
Image
Image


Change select Menu value via ajax call

Posted: Thu Mar 27, 2014 6:06 am
by pritu patel

It not store in my database.What i want to do??


Change select Menu value via ajax call

Posted: Thu Mar 27, 2014 4:09 pm
by Nikita

Hello,

You've done everything correctly from the Appery.io side. We don't know why such a result is returned, because this is the response from your server.