Questions tagged [complete.ly]

complete.ly is a tiny javascript library to add autocompletion to any HTML input text.

http://complete-ly.appspot.com/

10 questions
3
votes
1 answer

config options in complete.ly.js

What are the possible values for the configuration options when creating an instance of complete.ly ? My code is like this: var pv = completely(document.getElementById('container')); as seen in the booking example:…
Zo72
  • 14,593
  • 17
  • 71
  • 103
2
votes
1 answer

Case insensitivity option in complete.ly

It would be great to be able pass a caseSensitive option on the function call. By default it could be set to true (the current setup), but you could pass {caseSensitive: false} as the option param and it will return results in a case insensitive…
Matt Pass
  • 21
  • 1
2
votes
1 answer

detecting and disabling autocompletion on mobile devices with either complete.ly or typeahead

In my project I want to use either complete.ly (see http://complete-ly.appspot.com ) or typeahead.js (see http://twitter.github.io/typeahead.js/) As far as I know, none of the two libraries support mobile devices so I need to handle that. As…
rowly
  • 647
  • 2
  • 8
  • 10
1
vote
0 answers

Complete.ly Limiting Number of Results

Does anyone know how to limit the number of autocomplete suggestions when using complete.ly? I am going to be pulling choices from a database, and I do not want the page to be flooded with over-many results. Thanks. . .
1
vote
1 answer

adding complete.ly script in Worpdress

I have a Wordpress 3.9.1 and added complete.ly script to my WP-page so there is an autocomplete field but it does not show the dropdown list and even not available to edit. The code list below works in plain html but does not work in WordPress.…
AlexJR
  • 21
  • 2
1
vote
1 answer

Making autocomplete work with touchscreen keyboard

I'm using complete.ly for a site intended for use on a touchscreen. The keyboard only appears on-screen if the selected element is a textfield or input, the code for that is: if( (this.input_target.is('input') || this.input_target.is('textarea'))…
BammaHamma
  • 459
  • 4
  • 11
1
vote
1 answer

Detect complete.ly User Selection?

In using complete.ly, I'd like to catch the event where the user has selected an option from those presented. See the example at http://complete-ly.appspot.com/examples/clauses.html. I don't see any such event in the API. I've also looked through…
user1032402
  • 410
  • 1
  • 3
  • 11
1
vote
2 answers

Use complete.ly with a input text box

Is it possible to use the library with an input text box? I have tried but it doesn't work! For example: (....) var auto = completely(document.getElementById('textId')........ Regards.
0
votes
1 answer

choices not showing in complete.ly library

I have setup a very simple complete.ly text box but my options are not showing. I suspect it's something obvious that I have missed. It really is a very basic example : var strategyChoice = ["a", "b", "c"]; $(function() { var pv =…
Chapo
  • 2,563
  • 3
  • 30
  • 60
0
votes
1 answer

modify complete.ly options based on textbox value javascript

I want to change the autocomplete options of a complete.ly object based on the selection made in another dropdown list. I call the updateAuto function through JQuery by doing $("#ddlToWatch").change(updateAuto). The updateAuto function definition is…
Chapo
  • 2,563
  • 3
  • 30
  • 60