hubermedia documentation 2015 html
mode
Description
Mode for the resulttype. Possible values: jquery (Default: empty)

 

If empty, the result will be rendered as default json. If value is jquery, the result will be rendered as json that can directly be used in jquery autocomplete dropdown widget

(Default: empty)

Type
String
Syntax
&mode={String}
Samples

http://meta.et4.de/rest.ashx/autocomplete/?experience=demo-dahoam&limit=10&term=Lam

Example Title
Copy Code
[
    {"Term":"lamer","Count":741},
    {"Term":"lamerwinkel","Count":722},
    {"Term":"lam","Count":525},
    {"Term":"lamerer","Count":285},
    {"Term":"lambacher","Count":62},
    {"Term":"lambach","Count":49},
    {"Term":"lamberg","Count":19},
    {"Term":"lamberger","Count":19},
    {"Term":"lamm","Count":7},
    {"Term":"lamas","Count":1}
]

http://meta.et4.de/rest.ashx/autocomplete/?experience=demo-dahoam&limit=10&term=Lam&mode=jquery 

Example Title
Copy Code
[
    {"label":"lamer","count":741},
    {"label":"lamerwinkel","count":722},
    {"label":"lam","count":525},
    {"label":"lamerer","count":285},
    {"label":"lambacher","count":62},
    {"label":"lambach","count":49},
    {"label":"lamberg","count":19},
    {"label":"lamberger","count":19},
    {"label":"lamm","count":7},
    {"label":"lamas","count":1}
]

 

 


© hubermedia 2018 Privacy Statement Imprint