Hi there,
been searchin' for a solution for hours, hope someone here can help me
out.
This what I'm trying to do, I have several inputs on one page with
autocomplete. I need to pass a variable based on the input field the
user is in. So I decided to go with having this information as id
value.
Hello,
I am using the Zorn autocomplete plug-in and it works great, thanks
Zorn. I was wondering if there is a method to override the rendering
of the ac_results div and list, to populate results in an alternate
element. Basically, I have a textarea with autocomplete enabled and a
div always
I'm having a problem with the plugin. Right now, when a user clicks
on a list of suggestions from the autocomplete, it takes that
selection and puts in the input. The user then has to click again or
hit enter to submit the form.
It seems that most search forms work on a single click system:
I'd imagine you'd want something like this?
$('input#query').autocomplete('yoururl',{
.
your options
.
}).result(function(event, item, formatted) {
$(this).parents().find('form:first').submit();
});
I hope this helps
RobL
jjunior wrote:
I'm having
That's brilliant! Thanks.
Hello,
I'm using the bassistance version of autocomplete.
What I'd like to do, is getting my initial list filtered even if I add
words unordered :
If I type Marc, I will get a list of [Abb Marc, Trp Marc, Thx Marc]
If I keep writing Marc Ab.. by instance, the list dissapears because
it's not in
Hi all,
We're using Jörn Zaefferer's awesome
'Autocompletehttp://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/'
plugin and wondered if anyone knows if it is compatible with jQuery 1.4? Be
very intereseted to find out.
Many thanks.
Anthony.
I submitted a bug, as requested, to the jQuery bugtracker over a year
ago. The bug was validated and assigned to Joern but has since sat
untouched for over a year. The defect is at http://dev.jquery.com/ticket/3719.
I tested against the latest version and this bug is still there.
Anybody know if
I'm trying to use autocomplete to send a query to our backend search
engine. This is working very well, howver, we are notcing that when we
submit a query for a substring such as foo and there is no match in
the results a subsquent query is also been submitted for foobar to
the backend. This is
The autocomplete plugin I obtained from
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ is
working great aside from one significant problem: it is returning
multiple identical results in the dropdown.
Say I wish to search for all records that contain 'march' in the month
field
Hi! I m use bassistance.de variant of this plugin and have next
problem.
I have dynamic number of pairs like Town - Street (users can add
it manually). It's id: adr1 - str1, adr2 - str2, ... . HTML:
input id=adr1 class=town sfield type=text /
input id=adrid1 type=hidden / // Town ID, taked from
Hi jQuery guru,
I have an application based on struts and tiles. Validation is done by
javascript at a global level.
When I include my autocomplete code in my JSP page, the validation
(checkValidation()) malfunctions with a javascript error - Object
does not support this property or method at
Hi,
I have been using the jquery autocomplete plug-in for some time now
and find it very useful. Lately I have come across the following
problem in one of my JSP pages.
The autocomplete suggestions are displayed and formatted properly. But
when I select the one that I want, the result briefly
jQuery 1.3.2
jQuery Autocomplete plugin 1.1
I would like to
- keep the suggestion list when user click outside the text field.
- hide the suggestion list when user select item from the suggestion
list
I found a possible way, remove these lines of codes
if (!config.mouseDownOnSelect
Hi
I use autocomplete newest version on
http://www.kle-online.dk/stage
Things work great in FF and IE8 but in IE7 half of the page disappears
when the autocomplete list shows. Try to type benz in the search
field and problem should be easy to see.
Cheers,
Rune
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of waseem sabjee
Sent: 02 January 2010 19:39
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Autocomplete
i would suggest you check out jQuery UI
On Sat, Jan 2, 2010 at 9:35 PM, AndrewM amer
loop through all the items in array and use
item.replace(,,',)
this should be ok now...
--
http://ranacseruet.blogspot.com/
...
Thanks again
Andrew
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Md. Ali Ahsan Rana
Sent: 04 January 2010 08:33
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Autocomplete
loop through all the items in array and use
item.replace
i just tried with this
cities = [TownOne, County, Town Two, County, Town Three, County,
TownFour, County];
$(#suggest1).autocomplete(cities);
its working correctly. The problem you said, event doesn't appear. So, can
you explain what you r using and what is happening actually?
Regards
If you want to match ignoring the comma(may be this is what you want), then
you have to pass some extra parameters and some more suggestion will show up
besides the expected..
$(#suggest1).focus().autocomplete(cities,
{multiple: true,
multipleSeparator: ,
matchContains:true}
);
Thanks
_
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Md. Ali Ahsan Rana
Sent: 04 January 2010 12:06
To: jquery-en@googlegroups.com
Subject: Re: [jQuery] Autocomplete
If you want to match ignoring the comma(may be this is what you want), then
you
Hi,
I am new to jQuery and have 2 questions:
I am using the bassistance.de jQuery plug-in.
1. For speed I have created my Array of data to be searched client
side in a .js file as I have 25k + items. In Firefox and IE8 the auto
prompt is very fast - however in for some clients it is not - for
i would suggest you check out jQuery UI
On Sat, Jan 2, 2010 at 9:35 PM, AndrewM amer...@amwebright.com wrote:
Hi,
I am new to jQuery and have 2 questions:
I am using the bassistance.de jQuery plug-in.
1. For speed I have created my Array of data to be searched client
side in a .js file
I'm using the autocomplete plugin. The following script works in IE,
but doesn't work in Firefox. It doesn't appear that these are even
being triggered. So when the page displays in Firefox, the
searchStudents textbox has no autocomplete associated with it.
$(document).ready(function() {
I am using a jQuery AutoComplete plugin.
My code is not working:
var jj=$(#region_area).val();
$(#code_area).autocomplete( codearea.php?id=+jj , {autoFill:
true,matchContains: true});
This also not working:
var jj=$(#region_area).val();
jj=codearea.php?id=+jj;
$(#code_area).autocomplete( jj
Is it possible to open the select list on focus?
Best regards,
Jake Moon
Hi,
I have set the autocomplete for multiple, as shown below. When I use
the tab to select an entry it works fine, but you try using the mouse
then it does not work correctly. Any suggestion on what may be the
issue (using IE7) -
$('#textbox').autocomplete('url',{
minChars:1,
Hello Everbody,
i´m using jquery autocomplete on my site. In row [1] i put values
for building urls - and when I klick on it I want to move to the URL -
and not to autocomplete the input field (what is the originally
purpose of the autocomplete). So I want the suggested Items to have a
normal
function formatItem(row) {
window.location = row[1]; //Send the user to URL 'row[1]'
}
On Dec 22, 7:33 am, Axel seemann-ka...@web.de wrote:
Hello Everbody,
i´m using jquery autocomplete on my site. In row [1] i put values
for building urls - and when I klick on it I want to move
:55, MorningZ morni...@gmail.com wrote:
function formatItem(row) {
window.location = row[1]; //Send the user to URL 'row[1]'
}
On Dec 22, 7:33 am, Axel seemann-ka...@web.de wrote:
Hello Everbody,
i´m using jquery autocomplete on my site. In row [1] i put values
for building urls
Greetings, all. The autocomplete plugin is excellent! I'm looking to
have a text input field on the bottom instead of the top of the page,
however, and would thus like results to appear above the box instead
of below. Anyone have a quick tip on how to change this?
Much obliged,
E
In your autocomplete plugin example (tags list): when a user types
some word and then select the right one from the suggested list by
keyboard - everything ok, BUT when he wants to select an option by
mouse - there is a big problem - the input field recieves th wrong
value. I have similar problem
I have a number of fields in a grid which are all using auto
complete. I want the extraParams function to be able to work out
which field I am in so that I can return a differently filtered list.
I don't seem to have access to the input variable? Any clues?
Thanks
Simon
I need help with this plugin autocomplete.
with results i also show how many , ex:
mexico (5)
los angeles (4)
How can i make the selection without the associated number.
ex: mexico
los angeles
change event does'nt work.
I'm using the autocomplete plugin (http://bassistance.de/jquery-
plugins/jquery-plugin-autocomplete/) and sometimes I press enter /
submit the form (which uses ajax, so the page does not change) and the
autocomplete fires up AFTER this, so the user already entered the
search term, is already
I'm using jQuery plugin: Autocomplete, in a field id=inputsearch.
The question, is how is it possible to open the dropdown
programmatically frmo javascript in the page.
thanks for the help
Alex
$(#inputsearch).autocomplete(${topicList}, {
formatItem: function(item) {
I have a form where you use the autocomplete box to choose a value.
As long as you mouse-click the value or TAB to another field, it seems
like everything works fine. But if you fully type the entire value of
something in the list and then click on another field and start typing
over there, it
I can't seem to find an answer to this question anywhere.
When using extraParams, is it possible to refer to the element
triggering the autocompleter?
For example;
$(input.element).autocompleter(ajax.php, {
extraParams: { $(this).parent(form).attr(name) }
}
How would one go about removing a hidden variable when the
autocomplete is left invalid?
I tried:
$(.autocomplete_search).result(function(event, data, formatted) {
if (data)
$(this).next().val(data[1]);
else
Hi all,
i have made a change to autocomplete code, because cache handling
should include extraParams in cache term. I thought this could be
interesting for some of you, so here is the code snippet that should
replace existing function request in autocomplete.js :
function request(term, success,
Hi all,
here is the code i use to parse an ajax request call as JSON string as
it is done for local data.
I think this should be the default behavior, but autocomplete uses a
| separated String...
parse: function(data){
var objArray = eval(( + data + ));
Hi there,
We are using the rather nifty autocomplete plugin from
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
but have run into a problem
$(#autocomplete).result(
function(event, data, formatted) {
alert(formatted)
}).autocomplete([c++, java, php, coldfusion,
Hey,
I implemented the jQuery Autocomplete plugin and when I do a search
that returns a lot of items I want a vertical scrollbar. I added the
scroll: true, and scrollHeight but the scroll bar doesn't want to work
in IE (works in FF and Chrome perfectly).
This is the jQuery I have for the plugin
i am trying to shorten the result div. how do you do this. i want it
to be the same size as the input box, not 3 times as big. :-)
Hello,
I have a problem with the encoding / decoding of Norwegian characters
namely Ø turned into Ã
This happens with the jquery-autocomplete plugin and not with the
jquery load() method.
That is, this :
$(totalAvtaleNavn).load(suggestTotalAvtaleUrl, {q:TTTøøre});
works fine. Always
Dear all,
I'm new in jquery. I want to ask about, how to validate value on auto complete
plug in. The value that entered by user, must match with the value in the
autocomplete array. How to do that in jquery? May someone give a solution. Thx
Sent from my BlackBerry®
powered by Sinyal Kuat
here the code
// if I type like below code, auto complete it's show..
$('#edit-submitted-order-no').autocomplete([one,two,three]);
// but if I type like below code, auto complete not showing... why?
anybody can help?... thanks
$.ajax({
type: POST,
url: test.php,
success:
search results, like it's
done on e.g. Apple.com (search bar, top right corner).
Is there a way to mimic this functionality in any of the current
jQuery autocomplete plugins?
Thanks!
- Henrik Lied
In the demo http://view.jquery.com/trunk/plugins/autocomplete/demo/
with Multiple Cities and Multiple birds there seems to be a difference
in behavior when removing or backspacing the last entry.
Is it possible to make the remote one act like the local one, where
pressing the backspace removes the
This is a newbie question.
I want to use the jQuery autocomplete for injecting text in the middle of
another text, inside a text area.
I mean, I have a textarea that may already contain some text. I want to set the
cursor anywhere in that text and start typing. The autocomplete box pops up
try in http://www.confestetica.it/estetica/ (on the right)
1. typed some chars
2. move scrollbar with mouse
3. click elsewhere
4. div do not disappear as expected (at least by me)
I loaded bgiframe plugin, there is something I have to do to make it
behave as I expect?
Daniele.
Works fine in FF 3.5.5
On Thu, Nov 12, 2009 at 6:36 PM, danielecr daniele...@gmail.com wrote:
try in http://www.confestetica.it/estetica/ (on the right)
1. typed some chars
2. move scrollbar with mouse
3. click elsewhere
4. div do not disappear as expected (at least by me)
I loaded
I'm using Autocomplete in a search field to reference and load a
record from a database ... it's working perfectly, thank-you for
making this UI concept so easy to accomplish ...
Is there a way to have a special item return in the autocomplete
list regardless of what the user types ... In other
Hi,
I need a text box with autocomplete feature. But, the text box is not
displayed when page loads initially. Based, upon some selection in a
regular drop down, this text box will appear. When I start typing the
letters, I should get the autocomplete drop down.
I use jquery auto-complete-4.1
Hi guys
I am using v1.1 and the unautocomplete is not working correctly for
me. The unautocomplete partially works... as in it doesn't show the
user anything (although the loading style is changed) but it still
triggers the ajax call and just doesn't display the results... The
point being that the
I have textfield where I am using the autocomplete.
I want to allow users to use html in the input .
And while outputting the result I am escaping the html.
Now there is an issue if I use the default highlight feature of the
autocomplete plugin.
If the result contains escaped html characters,
I'm trying to use autocomplete on a dialog windows that has a editing
form for the user to change data previously saved so every
autocomplete input has data that can be change. The problem is when i
do change a value and try to update an input with part of the data
returned by the autocomplete
I've noticed some strange behavior in IE7 for the bassistance
autocomplete plugin.
1. This bug can be seen on the demo page here:
Type something into the Multiple Birds (remote) field and select one
of the autocomplete choices. Type a couple more letters so the drop
down appears again. Hold
Hi guys,
Currently I'm using this version of autocomplete plugin
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ for
some of my php files.
I found an issue with the autocomplete dropdown that it showed all the
html tags as results instead of the data from the database.
Hi,
I use jQuery's Autocomplete plugin on my website.
What I need help with is sorting the list that appears. I want it to
have the same sort that I have in the array where all the options are
available.
Best regards,
Mikael
I've been getting some buggy behavior with IE7 when using a new line
character as the multipleSeparator. Here is my sample code:
textarea name=search[movies] rows=4 cols=20
id=search_movies/textarea
$('#search_movies').autocomplete(
'ajax_movie_autocomplete', {
Great plugin. Very flexible and easy to implement.
I'm not sure if this is a bug or I'm doing something wrong but here
goes.
My list of items are:
Grenada, St Georges
France, Nuits Saint-Georges
Canada, Georgetown
Georgia, Tbilisi
is set to default and the cacheLength is at default too.
Now, I
Hi to all,
I'm trying to work out how to integrate a result comming from a
autocomplete to be showed in a fancybox, someone has some idea.
Hi,
I have some problem with autocomplete plugin.
When selecting option into autocomplete drop down list, focus stays on
input field. So when Enter key is hit to select option, event is
catched by the input field. In my case that's a problem because I
submit form on enter key event and a
I'm taking a look at the jQuery autocomplete plugin and it works great
for the most part except that it's generating scrollbars on both sides
of the drop down list.
Unfortunately this can't be overridden (AFAIK) via the stylesheet
provided because the code apparently hard codes the overflow
I can get Jquery Autocomplete to work in all browsers but Firefox.
The function correctly queries the data and creates the results div/
list, but it's not setting the style: display to show or block, it's
remaining at none, the default state. Firebug is not showing me any
errors, as far as its
Hi
Is there anyway to pass a callback to the options to be called when an
option is selected?
Regards
Eka
Hi,
I'm using the autocomplete plugin like that in the ready() event :
$(#ctl00_body_txtSearch).autocomplete(Autocomplete_GetArts.ashx)
.setOptions({
width: 220px
});
However I need to be able to change the URL (to add a bunch of query
parameters) based on the values of some
I've recently installed an formated the Autocomplete script into my
page and it works beautifully for IE, Saf, Chrome, but the results
drop down won't appear in Firefox, on both Mac and PC. I've had
another use it check it in a different state to confirm.
The PC version of Firefox is 3.5.3.
For clarity, I have modified the code in the demo application to
demonstrate the bug.
1. Please download code from
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
and place attached AutosuggestBug.html in demo folder.
2. Launch AutosuggestBug.html in Internet Explorer (I used
Hello all,
For some reason, clicking to the left or right of the autocompletion
dropdown doesn't remove the drop-down in IE7 for me, but it works on
the demo site...anyone else experience this? Is it some kind of
formatting bug I should be looking out for?
Bernie
Hi all.
My autocompletion code is:
$(#suggest).autocomplete(tags, {selectFirst: false, multiple: true,
multipleSeparator: ,,});
When I start typing in my text field, for instance Nou, the
autocompletion gives me Nouvelle, Nouveau... But what I want actually
is to search for Nou. So I press
Hi,
I'm using the AutoComplete Plugin with ASP.NET MVC. For some reason
the client side input value is NULL when it reaches the Server method.
Any suggestions would be appreciated.
Thanks,
Mark
Hi Folks,
it is possible to combined the autocompleter with the tooltip plugin?
I must call$(#tooltip).tooltip({ track: true, showURL: false });
to acticate the tooltip BUT i dont have the onComplete or onReady
Event on the autocompleter. ;(
Or is the the wrong way ?
Thx
Joe
I am looking at the auto-complete demo page, (
http://view.jquery.com/trunk/plugins/autocomplete/demo/ ) on the demo
of remote images.
the Javascript for that is
$(#imageSearch).autocomplete(images.php, {
width: 320,
max: 4,
highlight: false,
I'm trying to use the plugin with generated json, but the parse isn't
going very well... My json, that is being produced is something like
that:
[ { id: 9887, nome: Salvador, estado: BA }, { id:
9890, nome: Salvaterra, estado: PA }, { id: 9888,
nome: Salvador das Missões, estado: RS }, { id:
I've been using the jquery autocomplete plugin by Jorn Zaefferer
(thanks for the nice work).
My problem is that results are returned in a class=ac_results, and
I'd like to edit this class name at will with the initialization of
every instances so I can put them into different groups for styling
Hi,
I think there is a bug in autocompleter, when you use extraParams.
The
cache logic is just wrong because it takes extraParams not as a part
of cache key for lookup, so when you issue a request for a term
with
any parameters, the second search for a term will return cached
results regardless
of jquery autocomplete plugin.
now i wanted to use the latest version of the plugin, but i am unable
to find the source anywhere!
i have checked the site, the link to SVN is also not working. where
can i get the plugin and instructions to use it ?
any help?
regards
, Oct 6, 2009 at 8:36 AM, sangram sangramred...@gmail.com wrote:
hi,
i have used previous version of jquery autocomplete plugin.
now i wanted to use the latest version of the plugin, but i am unable
to find the source anywhere!
i have checked the site, the link to SVN is also not working
hi,
i am using latest version of jquery autocompletion plugin.
and have populated an array(input for autocomplete) abt 800 entries.
now strangely when i type a letter which triggers large results, i can
see a scrollbar in mozilla but not in Internet explorer 7.
i have only included
Hi,
I have this strange problem. I am using autocomplete to help autofill
the form text input field width name of streets. User can choose
between streets of two towns, selecting the check box. I also added
autofill acceptance with pressing ENTER key. Everything works fine
until user changes the
Hi,
I'm using the autocomplete plugin: http://docs.jquery.com/Plugins/Autocomplete
I'd like to trigger the display of the selection list from javascript,
for example when an empty textarea get's focus, when a button on the
page is clicked, etc..
Is there a way to call an internal function to
Hi people, first off thanks for the terrific job done with the
autocomplete pluggin.
However I think I found a bug:
I have an input text box with enabled autocomplete defined as follows:
$('#hostsTextBox').autocomplete(jsonHostsArray,
{
autoFill : true,
multiple : true,
Hi!
I wondered if there were any plans to add another option, as stated in
the subject avoidRepeated which would work when option multiple is
set to true.
The thing is now I can choose a same element multiple times, which
makes no sense according to my business logic. I've been trying to
imagine
Hi, i'm trying the jquery autocomplete from here
http://docs.jquery.com/Plugins/Autocomplete
On that page someone said that:
Often one autocompleted field depends on the value of another field.
In that case, the extraParams option can provide the necessary dynamic
parameter:
Consider
code at the bottom is working fine .. wherein data is coming from
database via postcode.php in following format :
2221|BLAKEHURST|NSW
4401|ACKLAND|QLD
2221|BLAKEHURST|NSW
4401|ACKLAND|QLD
2221|BLAKEHURST|NSW
4401|ACKLAND|QLD
Now issue is I have multiple postalcode, city and state input box in
are there any callbacks for me to hook into in order to send the focus
(); back to my input box when someone selects or clicks and
autocomplete item?
Hi..
I´m using something like that:
var defaults = {
minChars: 2,
cacheLength: 1,
delay: 300,
max: 10,
id: null,
city: null,
jsonaddress: 'teste.php',
matchSubset:
I'm using the jquery autocomplete plugin.
Suppose the user starts typing, and the autocomplete presents a drop-
down of possible values. If the user presses return, the first value
in the drop-down is selected.
What I want instead is the user experience that Firefox's search box
provides
I need to add an icon to the end of the field that automatically opens
the selection box. This is useful for smaller lists where the user may
wish to scroll through the list instead of guessing the first letter.
What javascript function can i call to emulate the min number of chars
has been
Hi
My php is returning via json:
a string (name) which is displayed in the text box
an int (location_id)
When the form is posted I would also like to post 'location_id' as
well as / instead of 'name'.
My js is below. what do I need to do to be able to post the
location_id.
Hi,
This is only happening in the JSON+emails example form the demos. If I
insert john'doe into the array and I start typing doe, autocomplete
will find john'doe. However if I start deleting characters (from back
to front, starting from letter e) autocomplete will not show any
matches until I've
Hey guys,
After a bit of struggle I have the autocomplete function working for
me yay :) Now there are 2 more things I want it to do but can't seem
to find it.
1. How do I keep the result box on top so I can click more than 1
value (each click adds a result to an option box)
2. How do I prevent
Hi
I'm trying to set up the json example that comes in the demo zip file
(json.html + emails.php). When I test it locally every thing works
great however when I move emails.php to my site (hosted by godaddy) it
stops working; i.e. nothing gets pulled in when I start typing in the
textbox. godaddy
I´m a bit confused, because the following doesn´t seem to work and I
have no idea why ... after searching google for a couple of hours and
trying different solutions, I´m posting this here and hope that
someone can help.
$(input.vAutocompleteField).autocomplete('/
autocomplete_lookup/', {
I'm using one of the examples from the demo files as a template.
Basically I'd like to auto suggest hospitals based on the zip code
that's entered from another input. Can someone recommend how do
accomplish this? TIA
This is the local data set:
var hospitals = [
{ name: hospital 1,
I am using the jQuery plugin autocomplete on an country input field:
I got this php array with countries in dutch:
$global_countries = array();
$global_countries['AF'] = 'Afghanistan';
$global_countries['AX'] = 'Ålandseilanden';
$global_countries['AL'] = 'Albanië';
...
Then php implodes the
hi guys
i had used jQuery autocomplete in a textarea
i want the suggest results show in where i'm typing, not outside the
textarea.
i checked jQuery autocomplete source code, finding in line 722 is the
core code.
show: function() {
var offset = $(input).offset();
element.css
hi guys
i had used jQuery autocomplete in a textarea
i want the suggest results show in where i'm typing, not outside the
textarea.
i checked jQuery autocomplete source code, finding in line 722 is the
core code.
show: function() {
var offset = $(input).offset();
element.css
1 - 100 of 549 matches
Mail list logo