close

Autosuggest for textareas is ready for launch. http://imgur.com/9v7S4u2

Features:

  • Can be applied on any input field or textarea just by adding class "autosuggest". Will be applied on the IDs "tags" (search field) and "post_tags" (textarea on post/show/ and upload textarea). Can be applied on fields via javascript (AutoSuggest.add(field)).
  • Sidebar can get a scrollbar now. http://imgur.com/8SCxrn7
  • PageUp/Down keys are used in textareas (a little note is displayed in the corner). Input fields like the search field can use both methods, PageUp/Down or just Up/Down keys.

JS: http://pastebin.com/2EZ5wABX
CSS: http://pastebin.com/VgPqL3SC

Edit:
For the future:

  • Display "No suggestions", if typed in tag cannot be found.
  • Display "Loading...", if the loading times are longer than usual.
  • Display error, if an error occurs. < Done!