From 3909e6d89e01e4cd8777377c63037896bb95aa2f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 25 Nov 2011 21:18:19 +0100 Subject: new jq layout --- .../demos/autocomplete/remote-jsonp.html | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 src/main/webapp/jquery-ui-1.9pre/demos/autocomplete/remote-jsonp.html (limited to 'src/main/webapp/jquery-ui-1.9pre/demos/autocomplete/remote-jsonp.html') diff --git a/src/main/webapp/jquery-ui-1.9pre/demos/autocomplete/remote-jsonp.html b/src/main/webapp/jquery-ui-1.9pre/demos/autocomplete/remote-jsonp.html new file mode 100644 index 0000000..cba43c9 --- /dev/null +++ b/src/main/webapp/jquery-ui-1.9pre/demos/autocomplete/remote-jsonp.html @@ -0,0 +1,89 @@ + + + + + jQuery UI Autocomplete - Remote JSONP datasource + + + + + + + + + + + + + +
+ +
+ + + Powered by geonames.org +
+ +
+ Result: +
+
+ +
+ + + +
+

The Autocomplete widgets provides suggestions while you type into the field. Here the suggestions are cities, displayed when at least two characters are entered into the field.

+

In this case, the datasource is the geonames.org webservice. While only the city name itself ends up in the input after selecting an element, more info is displayed in the suggestions to help find the right entry. That data is also available in callbacks, as illustrated by the Result area below the input.

+
+ + + -- cgit v1.1