Dynamic Auto-Complete By JSON
Posted: Thu Sep 18, 2014 8:17 am
Hello,
i want to create a webservice which gives data to a combo box. Is there an example which data format the webservice has to deliver? In the documentation i found an example like this:
I am not a web specialist, but i think that this in no JSON format. It seems to be a mixture of JSON and Javascript. Is this format the only way to get choices and values via an url? (In this case i have to extend my JSON tools because they can only create pure JSON Objects).
P.S.
I just extended my JSON Tools, so now the tools can create this format. It works.
Dieter.
Dieter
i want to create a webservice which gives data to a combo box. Is there an example which data format the webservice has to deliver? In the documentation i found an example like this:
Code: Select all
"The choices URL property allows you to use an external program to return your choice options and values by passing them using JSON formatting".
{
"success":true,
"response":[
new Option("Dishes and Cups","18"),
new Option("Soaps","14")
]
}
P.S.
I just extended my JSON Tools, so now the tools can create this format. It works.
Dieter.
Dieter