Skip to content

binghuan/javascript_simpleAutoComplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

javascript_simpleAutoComplete

link to launch the web app http://binghuan.github.io/javascript_simpleAutoComplete/autoComplete.html

link for this page.
an auto-complete widget on a text <input> with the following requirements:

Implement an auto-complete widget on a text with the.
following requirements:

-- Avoid using well-known UI libraries.
-- The dataset should contains around 100~1000 entries. Timezone names in tzdata [1] is a good example, but you don't need to load the JSON example [2] as-is.
-- User should be blocked from submit the input unless the input matches one of the entries.
-- The whole thing should work when loading from http://localhost/ or file:/// url, without server-side (e.g. PHP) logic.
-- Please take care of memory consumption and efficiency. -- Consider making your code unit-testable and reusable.

################## If you are interested in my works, please have a visit to my blog. http://studiobinghuan.blogspot.tw/ and http://bhtalk.blogspot.com


Coding quest from Mozilla.