Autocomplete widget (similar FW combobox)

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

Autocomplete widget (similar FW combobox)

Postby Otto » Sat Jan 15, 2022 4:20 pm

Hello friends,

The jQuery UI Autocomplete widget enables users to quickly find and select from a list of values as they type.
If you find the jQuery UI Autocomplete demos and documentation too daunting, here are some examples with
explanation to get you started.

https://salman-w.blogspot.com/2013/12/j ... mples.html

We took the demo using-label-value-pairs.html.
The data is loaded into the WIDGET using a JSON.

Image


We now read the data from a DBF file into a string and pass this string to HTML.

There, we assign the string to a JSON object.

Image


Here you can see the result.

Best regards,
Otto
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6329
Joined: Fri Oct 07, 2005 7:07 pm

Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 8 guests