Questions tagged as 'autocompletar'

1
answer

jquery ui autocomplete + php does not work

I have the following codes that are not working: Maybe I should add something to them, but I do not know how ... JS: <script> $(document).ready(function(){ $('#busca').autocomplete( { source: "busca_empresa.php"...
asked by 26.03.2016 / 21:10
2
answers

PDO Array mySQL with Json display error

I'm having a hard time json_encode echo json_encode($autocomplete -> fetchAll(PDO :: FETCH_ASSOC)); I'm doing a select from the database so fine, but when it transfers the data to this echo from above, many characters appear that javascr...
asked by 03.03.2016 / 17:41
1
answer

Handle autocomplete Jquery ui

I am implementing a query through an input system using the Jquery UI Autocomplete. In practice when querying a value by field name (Ex: Are) my input will display a list with possible returns (São Paulo, São Bernardo ...). This result is alread...
asked by 14.04.2016 / 07:29
1
answer

Hide keyboard when choosing text in AutoComplete

I'm using elements of type AutoComplete in the project, so when the user types part of the text they are looking for, it presents the suggested options for it. For this, I'm using the following snippet: private void arrayAutoComplete() {...
asked by 20.04.2015 / 19:48
0
answers

Autocomplete after pasting Jquery text

Hello, I have the following Sharepoint problem in the following input: <input id="listNCM" class="ms-long ui-autocomplete-input" autocomplete="off"> You input product search by numbers, the guy starts typing the number and the auto...
asked by 28.08.2018 / 22:22
1
answer

AutoComplete does not work on add remove inputs

I'm developing a budget form and I add and remove rows to register products in each row and have two autocomplete fields, where you search for the product by code or by name. The first line is always fixed to start the fill and in it the autocom...
asked by 20.06.2018 / 15:27
1
answer

Autocomplete dynamic form

I have a form that dynamically includes rows. In this form I have an autocomplete field where I select the product and add the value of the product in another input. My problem is this ... if I include two rows and select the product the value d...
asked by 24.05.2018 / 15:30
0
answers

receive two values autocomplete and pass to input tipe = 'hidden'

How do I pass a 'ID - valor' value of a autocomplete jquey and show only the 'valor' in the input field and pass 'ID' to another input type hidden .    PHP if (isset($_GET['term'])){ $return_a...
asked by 14.03.2018 / 17:58
1
answer

Problem with accent and special characters leave autocomplete in boldface

I have this script that does a search using Jquery autocomplete. $( function($) { $.ui.autocomplete.prototype._renderItem = function (ul, item) { var t = String(item.value).replace( new RegExp(this.term, "gi"...
asked by 28.06.2017 / 13:59
1
answer

Fading list items with jquery or javascript

I have the following code below and I have to make sure that when I click on the autocomplete result, and it fills the field with the values, the autocomplete list simply disappears: <pre> <style> ul.autocomplete_mapa_f...
asked by 26.06.2017 / 17:31