Dear all,
Has anybody have any attempts to implement autocomplete functionality for input text fields?
I have such a request and trying to implement it using jQuery http://jqueryui.com/autocomplete/
I wrote a simple code in order to provide a list of UOM for it input text field:
$(document).ready(function() {
$(‘[id*=“_uom”]’).autocomplete({
source: [
{label:“deegres”,value:“dd”},
{label:“metres”,value:“m”},
{label:“kilometres”,value:“km”},
]
});
});
However it does not show up the list when I start to type as it should, but the values are taken, because when I type “m” and press up/down arrow the values are changed inside the text field.
Does anybody have an idea, hint, where can be the problem?
Thank you in advance,
Tomas
–
Ing. Tomas Kliment
Contact information:
Private:
Juzna 4, 04801 Roznava, Slovakia
Tel: +421 907 232019
Tel: +39 389 4955 954
e-mail: tomas.kliment@anonymised.com
www: http://about.me/klimeto
Ph.D. student:
Slovak University of Technology
Faculty of Civil Engineering
Department of Theoretical Geodesy
Radlinskeho 11, block A, 5th floor
813 68 Bratislava 15, Slovakia
Tel: +421 259274 297
e-mail: tomas.kliment@anonymised.com
Ph.D. Internship - Junior Researcher:
The National Research Council
Institute of Marine Science, Venice, Italy
External consultant:
Polymedia S.p.A, KIT Digital Company
Joint Research Centre of European Commission, Ispra, Italy
e-mail: tomas.kliment@anonymised.com