Tagged Questions
0
votes
2answers
73 views
Jquery UI Autocomplete get data from another select
I want to have an jquery ui autocomplete to get the data from certain mysql tables. So if the html select is from email, it will send param to the php to get data from email table. if handphone it ...
1
vote
2answers
123 views
How to get jQuery dropdown value onchange event
I have added two jQuery UI Dropdown Autocomplete script. Now I want get both value onchange of second dropdown and want to store separately in variable. How it is possible?
Any ideas or suggestions? ...
0
votes
0answers
34 views
Jquery upgrade to 1.9.1 causing autocomplete searched result list to hide when focused
In my mvc project i've
upgraded the jquery.js version from 1.8.0 to 1.9.1
upgraded jquery-ui.js from 1.8.23 to 1.10.3
upgraded jquery.ui.core.js, jquery.ui.position.js, jquery.ui.widget.js, ...
2
votes
1answer
305 views
How to show the json response values received from PHP file as jQuery autocomplete suggestions?
I'm using PHP, jQuery, AJAX, JSON, etc. for my website. I'm a newbie in AJAX,JSON and similar things. I'm implementing autocomplete functionality onto one textbox. I've written all the code for it, ...
3
votes
2answers
209 views
Why the “jQueryUI autocomplete” is not showing json values received from PHP file in autocomplete enabled input field in following scenario?
I'm using PHP, MySQL, Smarty, jQuery, AJAX, etc. for my website. Now I'm trying to make one input field(having id user_name) autocomplete enabled. I want to give the user suggestions when he starts ...
0
votes
1answer
53 views
jquery ui autocomplete is not listing result
i am using jquery ui v1.10.3 and style v1.10.3 library.
jquery klibrary version is v1.9.1
this is my text box
<input type="text" name="txtCustomer" id="txtCustomer" />
and i have this js
...
0
votes
0answers
40 views
how to manually enter the options in jQuery ui autocomplete
I have an API, which returns an array like this
response = [["ACAMPO,SAN JOAQUIN,039","ADELANTO,SAN BERNARDINO,036",
"ADIN,MODOC,025"]["ACAMPO","ADELANTO","ADIN"]]
...
0
votes
2answers
237 views
jQuery UI autocomplete - matched option not getting selected on focusOut
I have made a jQuery UI - autocomplete in which I have added the following conditions:
Sorted option list
mandatory select an option
Here I made a mistake that, when I type the exact option, it is ...
0
votes
0answers
102 views
How to select an element in jquery autocomplete list using an external button
I have come across a scenario in which I have an autocomplete input box (jquery autocomplete). When user types in something, we get a suggestion list. But in my req, I have to hide that list and show ...
1
vote
2answers
89 views
How do I change the position of JQuery Autocomplete from the top of the page?
I have a JSFiddle here.
Whenever I use the autocomplete, the available options appear at the top of the page, instead of below the text box. Other questions here hasn't helped.
What I want to do is ...
1
vote
1answer
815 views
jquery autocomplete textbox set value programmatically
I am using jquery 1.8.2 and jqueryui 1.9.0 libraries.
I am trying to add an "Edit Record" dialog to my table which contains a autocomplete textbox of jquery-ui.
I am also using the change event of ...
0
votes
1answer
76 views
jQuery ui autocomplte in jQGrid popup position issue
I have following code in jQgrid and I am using jQuery ui autocomplete in one of the field. But the pop up of autocomplete displays somewhere else as shown in figure. From IE developer tools I noticed ...
0
votes
1answer
31 views
suggestion: search fist character inside a mark
I am using suggestion of this page: http://jqueryui.com/autocomplete/
I have a list like below
var availableTags = [
"ActionScript (bang ping)",
"AppleScript (htore) ",
"Asp (biga) ",
"BASIC ...
0
votes
1answer
349 views
Get Json results from remote source with autocomplete inside a contenteditable div
Using jQuery UI Autocomplete and targeting a contenteditable, with multiple "tags" starting with the "@" character, I have an example of everything I'm trying to do but one thing is missing. I need to ...
0
votes
1answer
258 views
Jquery autocomplete change source
I have Fiddle here
And I need availabletags1 as source if it's choice1 radio button is chosen and availabletags2 if choice2 radio button is chosen.
And I need to change this dynamically by actual ...
1
vote
1answer
357 views
Jquery Autocomplete Search Box
I have an autocomplete JS script for search side of my website but I think something is missing;
Our alphabet has Ç, Ş, Ö, Ğ, Ü and İ letters, also auto-complete script can work with this letters but ...
1
vote
2answers
112 views
Autocomplete with jquery and JSON
I'm completly new to javaScript and all this stuff.
I need to implement autocomplete so I started with simple example. Here the code:
<html lang="en">
<head>
<meta charset="utf-8" ...
0
votes
0answers
203 views
how to use jQuery UI Autocomplete to show results in table
I am using jQuery UI autocomplete plugin.
Right now I have been able to use the plugin to show results in the popup but I would like to modify the results rendering to create a table with three ...
0
votes
3answers
423 views
How to display html in jquery autocomplete results in Rails
I am populating a set of results for jquery ui autocomplete in Rails:
<%= text_field_tag('user', "", :placeholder => 'Enter a user...', class: "users",
data: ...
1
vote
1answer
208 views
jQuery .val() not working with jQueryUI autocomplete
I've got two jQueryUI Autocomplete's on a single form. One feeds off the other. My goal is to have the first field autocomplete and populate the IDs to the (intended to be) hidden fields. The ...
0
votes
1answer
107 views
Add span tag in jQuery
I would like to style only specific elements/parts from this
My code:-
$('input[name=\'bar_home\']').autocomplete({
delay: 0,
minLength: 3,
source: function(request, response) {
$.ajax({
...
1
vote
1answer
215 views
jQuery UI Autocomplete - Using Multiple Arrays & If-Statement for Output
I am having trouble modifying jQuery UI Autocomplete (Custom data and display).
First, how to have the source option call more than one array. Second, to be able to detect which array the ...
0
votes
1answer
85 views
jQuery autocomplete trouble in selection
This is my code for jQuery autocomplete searchbox, in source I am pushing array of JSON objects like [{displayName :'john',value:'12345',email:'[email protected]'},...]
var termTemplate = "<span ...
0
votes
0answers
94 views
Ajax working on localhost but not on server
My autocomplete ajax code for a form is working in localhost but not on the server:
<script src="js/vendor/modernizr-2.6.2.min.js"></script>
<script ...
1
vote
1answer
72 views
Source of a jQuery autocomplete being the value of a hidden input variable
I'm using jQuery's autocomplete, but I'm having problems getting the source to refer to the value of a hidden input on the page.
This is the hidden input field:
<input type="hidden" ...
2
votes
2answers
425 views
Does jquery UI Autocomplete support restrict typing on invalid values where supporting multiple values?
I am taking over a new website and it was using an old deprecated version of the jquery autocomplete plugin. I am trying to recreate the functionality using the latest jquery ui autocomplete and ...
0
votes
0answers
30 views
Error with updated Jquery Autocomplete
i have this code:
$.widget("custom.gamecomplete", $.ui.autocomplete, {
_renderMenu: function (ul, items) {
var self = this;
$.each(items, function (index, item) {
...
1
vote
1answer
475 views
How to make autocomplete to accept multiple values?
I am using the following tutorial to implement auto-complete which perfectly works, the problem is that it just accepts one value, however I need to amend it in a way to accept multiple values, such ...
0
votes
1answer
341 views
remove selected option from jquery autocomplete
i am using jquery autocomplete and its working fine, my requirement is that the value which is selected much be removed from the drop down how can i achieve that? js and html are below
js
var ...
0
votes
2answers
53 views
jquery autocomplete returning all labels
I have the following code calling the jquery autocomplete widget:
$(function() {
$( "#vendor_name" ).autocomplete({
source: 'vendor_names.php',
minLength: 3
})
});
My ...
1
vote
2answers
3k views
How to bind keypress event in jquery autocomplete?
As you can see in http://jsfiddle.net/hn838/4/ 'click' is working fine for autofiller, But I want to trigger same code on enter key keypress also, but it is not working for me. My code is here for ...
3
votes
3answers
5k views
Uncaught TypeError: Object [object Object] has no method 'autocomplete'
I am trying to use the jQuery autocomplete feature on an ASP MVC 3 web page. Unfortunately I keep getting this error. I've looked at version 1.9.2, which I'm using, and it does have the autocomplete ...
0
votes
0answers
162 views
Custom Data Formatting in jQuery Autocomplete
I have a jQuery autocomplete script which gets its data from a database (Oracle).
It works fine, but I want to display the data differently.
I looked in http://jqueryui.com/autocomplete/#custom-data ...
2
votes
1answer
356 views
Jquery autocomplete not able to pass value to hidden field
I have been trying to do auto complete using JQuery and JSP, but so far I couldn't get the value in hidden field successfully, I am able to get the department name though.
Could someone point out ...
1
vote
1answer
130 views
data(“autocomplete”) is undefined in TypeScript
I use this code in my app (to override _renderItem);
var ac: JQuery = $("<input/>");
ac.addClass(this._autocompleteId);
ac.appendTo(container);
ac.autocomplete(options);
var renderItem = (ul: ...
0
votes
1answer
85 views
Autocomplete the data from a remote source
I am currently using the jQuery UI autocomplete widget, pulling the data from a remote source.
My problem here is, I used to have only New York data needed preloaded.
But now, I added new cities; ...
1
vote
1answer
627 views
Combining jQuery UI Autocomplete Sources
I have achieved functionality that I like with the following source tag:
source: function (request, response) {
// delegate back to autocomplete, but extract the last term
...
0
votes
0answers
97 views
KnockoutJS Autocomplete Loading values back to form
Following up to:
KnockoutJS and Autocomplete Saving both Value and Selected Text
Everything is working fine, except now I need to load the values back into the form (from a back button click, or ...
1
vote
1answer
700 views
How to hookup jQuery autocomplete with POST query to remote data source?
I'm trying to hook up a text field to jQuery UI's autocomplete with a remote data source using a POST query. So far I have this:
$( "#booking_student" ).autocomplete({
source: function( ...
2
votes
2answers
2k views
Jquery ui combobox (autocomplete) disappears
I'm trying to do this http://jqueryui.com/autocomplete/#combobox
The problem is that when I go with the mouse over an option, options will disappears and it cames out the advice: "x didn't match any ...
1
vote
1answer
608 views
jQuery UI Autocomplete: how to allow free text
I want to give possibility for user to add his own variant, not only one from suggested. But when I type something in the field and click ENTER my form submits.
Then I tried to catch keydown event ...
0
votes
0answers
122 views
jquery-ui autocomplete using multiple search criteria
Here's what I'm trying to do. I'm making a screen to search for a person. At the top are text inputs for first name, last name, city, state, and zip. User can search using any or all fields to ...
0
votes
0answers
351 views
Debugging Error on jquery Autocomplete
Anyone? I would really like to get this working soon but can't get past this. Trying to debug using the Error handler in JQuery but the response object is just showing the text "error" and not showing ...
1
vote
2answers
2k views
JQuery Autocomplete: Get the currently focused <li>
JQuery Autocomplete triggers a focus event when the user mouses over or otherwise highlights one of its <li> options. Within this event, I want to refer to the <li> that is currently ...
2
votes
2answers
691 views
Focus on a jQuery autocomplete result (not necessarily the first)
I am struggling to extend jQuery autocomplete so that a particular item has focus by default. The out-of-the-box functionality works pretty well, but it's not perfect. Using the autoFocus option I can ...
0
votes
0answers
148 views
Which function of Autocompleter in jQuery UI fills the value in the text field on which autocomplete is applied?
I have a searchbox which implements jQuery's autocomplete to give suggestions. I have also a 'labelify' method on the searchbox. The issue is - when I hover over the list of suggestion they fill my ...
2
votes
1answer
202 views
jquery autocomplete, best way to join displayed data
to keep things simple, I have jquery autocomplete working, what is the best way to approach, joining/displaying a multiple rows from the array in the same input field.
My php looks like this
...
0
votes
1answer
97 views
Using jQuery-ui autocomplete to get sorted data
So I want to use jQuery-ui autocomplete plugin to just get the sorted data in json format so that I can create my own custom UI. Custom UI would be like the one in attached sample image. For this, I ...
0
votes
1answer
235 views
Replace <ul> in jQuery autocomplete with select
I want to rip out the ul out of the jQuery autocomplete and replace it with select-options (a regular drop-down). Please note that, I want to replace the sucker, not embed the drop-down in it which is ...
2
votes
1answer
415 views
Combining a local source and remote source in jquery ui autocomplete
I included locally in javascript a list of commonly used terms, and then I would also like to get json response from the server through ajax response. How can it be done?
var projects = ["apple", ...