Tagged Questions
0
votes
1answer
23 views
Dropdown Loses Focus As Soon As I Try to Select a Value
So the context is an MVC 4 internet application with razor views.
Here is the input field where I want the autocomplete dropdown to appear:
<td>
<div class="editor-field">
...
0
votes
1answer
30 views
Use custom CSS class on JQuery autocomplete
I have a JQuery autocomplete text box. I have a CSS style sheet which defines the theme for on-focus (say .custom-focus) and on-hover (say .custom-onhover) elements. The style sheet can change based ...
0
votes
1answer
42 views
How to get User entered text from jQuery UI combobox
I am using jQuery UI Combobox and I want to get the text entered by the user.
The user entered text may or may not have the matching element in the select list.
I want to display this user entered ...
0
votes
0answers
21 views
Jquery autocomplete is not firing
I'm having a hard time figuring out why the autocomplete is not firing. Below I've included the code that I'm using. I was understanding that jquery-ui holds this functionality. Am I missing ...
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
1answer
51 views
How to get autocomplete textbox value
I am using jquery auotcomplete functionality. I have applied this to all textboxes starting with particular id and filter the response on the basis of current textbox value. But do not get the value. ...
1
vote
1answer
233 views
Unable to get value of textbox in jquery autocomplete
I am using jquery 1.9.1.js and jquery-ui-1.10.3.custom.min.js. I run on IE9 browser with the error "Unable to get value of the property 'toLowerCase': object is null or undefined". Below is my code.
...
-1
votes
0answers
58 views
Make jquery ui autocomplete widget menu slide down
I want to make jquery ui autocomplete widget menu slide down instead of default immediate appearing action.
Is it possible to apply this or other type of animation to autocomplete widget and, if ...
-1
votes
0answers
16 views
autocomplete with a button to submit results
I am using autocomplete for jquery UI.
I want a search button when the user has found a result. At the moment when clicking on the drop down result goes to a select event then performs the necessary ...
0
votes
0answers
61 views
jQueryUI Autocomplete keyword match returns 2 values from database
I am using jQueryUI Autocomplete widget successfully to search my database for rows matching the request term:
$("myinput").autocomplete({
//delay ajax request
delay: 500,
minLength: 5,
...
0
votes
0answers
79 views
jQuery UI Combobox Refresh Dropdown <ul>
I have an autocomplete with a custom source function:
source: function(request, response) {
var matcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), 'i'),
data = ...
0
votes
0answers
53 views
jQuery combobox (with autocomplete) scrolls to top in IE
I'm having strange behavior with the jQuery combobox. The combobox isn't a regular jQuery plugin but can be achieved with the autocomplete plugin. They have an example on the jQuery ui site.
I've ...
0
votes
1answer
59 views
Why doesn't this very basic JQuery autocomplete work when using a local array of objects?
When I use a simple local array I have no problems. I have no problems populating that array from MySQL, too. But when I try to load an array of object, even a local array, it doesn't work. What am ...
0
votes
1answer
65 views
JQuery UI AutoComplete - can't get data typed in the input field
I've changed the standard method of Jquery UI autocomplete to use POST instead of GET:
$(function () {
var data = $(this).val();
var dataString = 'location=' + data;
...
2
votes
2answers
92 views
Jquery addRow and autocomplete
I have a table I would like to use autocomplete on a column.
(medSearch is the class set for this column)
I use the Jquery's autocomplete code
autocomp_opt={
source: function(request,response){
...
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, ...
0
votes
0answers
50 views
Regular Expressions to get matched result
Am unaware of Regular expressions and am using jquery ui auto-complete and filling a textbox in my site. I need to change the result of normal jquery ui autocomplete like below.
For example
Chennai, ...
0
votes
0answers
36 views
autocomplete ui focus event handler
How can I add new my event to the already created <input> which uses jquery autocomplete ui?
$(document).ready(function() {
$("input.myInput").focus(function() {
alert('hello');
...
2
votes
4answers
317 views
JQuery autocomplete how to write label in autocomplete text input?
Hello I am using jQuery UI autocomplete.
I am getting values and labels from the drop down area. I will write the value in a hidden input and use it later. I could do that, but I cannot write the ...
0
votes
0answers
211 views
jquery UI autocomplete drop-down list shows only blank space
Before you tell me to look at other questions relating to this, I've already tried everything that I could find, but nothing seems to work!
I'm using jQuery UI 1.8.7 here and all the necessary ...
1
vote
1answer
216 views
jquery autocomplete- add data to list on select event
I am using jquery autocomplete with a json datasource.
This is my code:
clientId, clientName are the id's of the input fields.
$("#clientId").autocomplete({
source: function(request, ...
0
votes
4answers
218 views
Jquery autocomplete not working
My autocomplete is not working , i have alerted the response from ajax , it is json
<script src="../jquery.js" type="text/javascript"></script>
<link ...
0
votes
0answers
80 views
jQuery UI autocomplete: prevent arrow key selections from wrapping list
With jQuery UI autocomplete, the default behavior is for the down arrow to focus each possible item and then wrap the list (first item is focused after the last). The up arrow wraps the list in the ...
0
votes
1answer
111 views
preventDefault stops window.location.href from working
My site has two ads on it, one of them uses a script which parses all links on the site and does preventDefault() on them... this makes it impossible for me to use preventDefault() on any links since ...
0
votes
2answers
2k views
jQuery UI Autocomplete Multiple Values in Textbox
I need a simple autocomplete search functionality but also allowing users to type more than one value. I'm using jQuery UI's autocomplete widget (http://jqueryui.com/autocomplete/) and so far I've set ...
0
votes
1answer
157 views
jQuery UI Autocomplete Suggestions Not Closing on Select
I have an odd problem with a jQuery UI autocomplete. I want it so that when the text field gets focus, a list of all options in the autocomplete comes up. This works, but when selecting an item by ...
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
...
1
vote
1answer
202 views
jquery autocomplete - type ahead execution with tab rather than selecting an autocomplete option
I have a jquery autocomplete type ahead field. it is working 100% correctly and prompting me for values. It does however require that I click on the option I want to select.
if the type ahead value ...
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 ...
2
votes
2answers
155 views
Sort the values in the jQuery Autocomplete
I have an array like
["JOAQUIN", "BERNARDINO", "MODOC","ALASKA","MADERA", "ANDERSON"]
where I'm populating them in a jQuery UI Autocomplete. However the order of sorting seems to be weird.
For ...
1
vote
1answer
163 views
jquery tagsinput and ui autocomplete: can they work with pre-loaded source?
I have a little trouble. There's working code with tagsinput, and I know how to work with autocomplete from jquery ui.
code exampe
Neither
autocomplete' :{
'source': tags_array
}
Nor
...
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
145 views
Modify jQuery autocomplete not to submit eagerly on Enter
Our users complain that when they press the enter key after pasting or typing values in a jQuery autocomplete widget the form is submitted.
It's extremely annoying them when they copy-paste a value ...
0
votes
0answers
124 views
jquery ui Autocomplete categories AND autosubmit
I try to use two features of jquery autocomplete : categories display and autosubmit (when selecting an item).
Each of them works fine but not simultaneously.
Here's my code :
$.widget( ...
0
votes
1answer
226 views
css of jquery ui autocomplete not being applied
I'm trying to implement jQuery ui's autocomplete. It's working, except that the css isn't being applied.
1) The list of colleges that appears is styled like a normal ul.
2) "11 results are available, ...
5
votes
2answers
126 views
jQuery autocomplete should skip disabled element when using keyboard
If you see this Fiddle demo, not done by me, how can I then avoid that the keyboard can go down and choose the disabled element? The mouse is working fine (not being able to select it) but I can go ...
1
vote
1answer
48 views
jQuery UI autocomplete trigger blur
I've got a text field with jQuery UI autocomplete. I want the user to type something, have the autocomplete to show options and then when the user clicks an option I want it to trigger blur/focusout, ...
1
vote
1answer
213 views
jQuery autocomplete data undefined error
I am using jquery v 2.0.0 and jquery ui 1.10.3
Following is my jquery ui autocomplete code:
$nameField.combobox({
source: people,
buttonSelector: '.toggleList',
...
1
vote
2answers
131 views
JQuery autocomplete : Preventing text replace when focus
I have the following code for autocomplete :
$(function() {
var availableTags = [
" x",
"y",
"z",
"l",
"m",
...
1
vote
2answers
653 views
jQuery AutoComplete : Make suggestions appear over the text box
I'm using the Jquery autocomplete plugin found here : http://jqueryui.com/autocomplete/
It's working fine but the auto complete hints appears as a drop-down list whereas I want it to appear as ...
1
vote
2answers
123 views
Filter response in jQuery autocomplete
I'm trying to implement jQuery.autocomplete which I use to enter tags (much like here on SO). However, I don't want to show tags that I have already in my list. If I have added foo already I don't ...
0
votes
1answer
393 views
jQuery-ui autocomplete text box closes on mouse over
I've got a fairly simple jquery-ui autocomplete box on my page. The HTML is simple and looks like this:
<div class="control-group">
<label for="addCampaignUser"></label>
...
0
votes
1answer
645 views
multiple autocomplete search input fields
I am having a bit of a problem with the jQuery plugin for autocomplete search, I can't manage to have two fields with autocomplete search in the same time. Can someone help me?
This is my html + ...
0
votes
1answer
54 views
jquery ui autcomplete to access a search function within a class
I have a class and within it a user search function:
PHP:
private function searchUsers() {
if (isset($_REQUEST['term'])) {
$params = array( ':searchQ' => $_REQUEST['term'] . '%' );
...
0
votes
1answer
107 views
jqueryui combobox appearance wrong in table inside dialog
I'm using the JQuery UI code for the autocomplete combobox. I've made no changes at all other than to specify the id of the selects to be made into comboboxes. It works OK on the main page, but when ...
0
votes
0answers
58 views
jQuery TagIt Allow New Values
I'm using jQuery Tagit and the integrated jQuery UI Autocomplete integration to try and get a working tag system with suggestions based on existing tags. The problem is that right now the autocomplete ...
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 ...
1
vote
1answer
285 views
JQueryUI autocomplete - custom rendering; focus not working
I'm using Jquery-ui version 1.10.3 with jQuery 1.8.3 and trying to implement a custom display of data fetched by the autocomplete server fetch:
This is the part that does the rendering override:
...