Page 1 of 4
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 1:07 am
by John Herdean
i am receiving a json list, and i would like to populate a select menu with the list. I tested the server response and it works. I mapped the elements. And I hooked up the service to an event. I dont know what else to do here?? See below for what i did so far:
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 3:46 am
by maxkatz
What exactly doesn't work? Please check if there are any errors in the console. This could be a cross-domain issue.
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:08 am
by John Herdean
when i run the live test, the driver list coming from the json response does not populate... i checked for errors and didnt find any. You will see the black arrow below where the list is supposed to fill - heres a snapshot:
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:14 am
by maxkatz
Switch to Net tab -- do you see the service invoked?
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:30 am
by John Herdean
what do you mean by Net tab?
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:31 am
by maxkatz
In the screen shot (Firebug) -- there is a Net tab.
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:43 am
by John Herdean
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:45 am
by John Herdean
oops, sorry i added the last image twice...
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 4:54 am
by maxkatz
I'm not sure I see the service is invoked...
how to populate a selectmenu from a json list response?
Posted: Thu May 23, 2013 5:08 am
by John Herdean
well, i shared my app with you guys already... Do you think you could take a peek at this and maybe find something im missing? This is the 1st time im running this particular service... I'd appreciate it. Thanks..