Questions tagged as 'typeahead'

1
answer

How to create elements of a typehead in a div

I need to develop an input that returns information from the database, but this information has to be visible in a div on the right side of the page I tried a lot of things, but I did not get anything. My test page: <!DOCTYPE html>...
asked by 06.12.2017 / 18:51
0
answers

Typeahead clears the input when the value is provided by javascript

I'm using the Typeahead version 0.9.3 to auto-complete my inputs. It's working fine, it takes the information from the bank and it shows everything right. However, if I want to set some value for the input through JavaScript . When...
asked by 25.11.2015 / 14:25
0
answers

Typeahead with accentuation

I've created a small application that uses typeahead to do the searches. I have registered people with names with accentuation and to search them I need to write the absolute name (with accent). I need someone to be searched for, for example, th...
asked by 11.08.2017 / 15:51
1
answer

Autocomplete with typeahead and JSON

I have a project in ASP.NET MVC and in it a script for autocomplete using typeahead with prefetch: $(document).ready(function () { // Sonstructs the suggestion engine var ativos = new Bloodhound({ datumT...
asked by 19.12.2016 / 13:30
0
answers

How to use typeahead in multiple fields at the same time?

Hello, I wanted to know how I can be using typeahead on various inputs. I am using Bootstrap and with it I made a row with some inputs, in the first input I am using typeahead to search words, it is possible to clone thi...
asked by 13.12.2015 / 15:07
1
answer

Adding a click event on a Twitter Typeahead result

I have the following js code that prepares a search field using Twitter Typeahead : var users = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('cname'), queryTokenizer: Bloodhound.tokenizers.whitespace, remo...
asked by 29.05.2015 / 02:25
1
answer

Json Correct format for typeahead?

When generating a JSON with the code below: JSONObject jsonObject = new JSONObject(); try { jsonObject.put("Nome", c.getNome_fantasia().trim()); jsonObject.put("Apelido", c.getNome_razao_social().trim()); jsonArray.put(jsonObject);...
asked by 20.07.2015 / 13:08
0
answers

Keyboard down arrow with typeahead

In typeahead in Jquery, how do I make the search suggestion just only selected down ? > $(document).ready(function () { $('#search').typeahead({ source: function (query, result) { $.ajax({...
asked by 02.05.2018 / 16:33
1
answer

Get TagsManager IDs

I have a form with several fields, one of them I use TagsManager to insert tags (clients registered), now when I send this form I need to save the ID's of these clients registered in the same field, separated by commas. I have tried to use the...
asked by 13.11.2017 / 14:39
0
answers

How to remotely load options in auto complete using Typeahead?

I was studying typeahead.js with bootstrap 3 , and I'm trying to do a auto-complete that makes a request on the server to bring the list options. This is the plugin I'm using:    GitHub Bootstrap 3 Typeahead This is the funct...
asked by 02.02.2016 / 13:46