Thanks alex, it works.
On Wed, Oct 7, 2009 at 7:20 AM, wrote:
> please try cacheLength=0 arg to autocomplete.
>
>
please try cacheLength=0 arg to autocomplete.
On Fri, Oct 2, 2009 at 03:45, Otniel Zebua wrote:
Ok, I have got it with $_GET.
But now I have another problem, if I choose "England" for the country, then
I press "a" in autocomplete input box, then $_GET['country'] value will be
"GB" in the serve
Ok, I have got it with $_GET.
But now I have another problem, if I choose "England" for the country, then
I press "a" in autocomplete input box, then $_GET['country'] value will be
"GB" in the server-side code.
But when I choose Italy for the country, then I press "a" again in
autocomplete input b
Yep. In my experience, I think the only time I found it not to send
any extra param is if the value of the param is empty (or undefined, I
believe).
In the example, if:
$("#country").val();
returns nothing.
pragard,
You might want to try to test it with a hard-coded value:
extraParams: {
First off, you should use Firefox and Firebug (or Chrome/Safari with
their respective Developer Consoles) to look at the URL That the
autocomplete call actually calls...
the "extraParams" get appended onto the URL as a query string value...
there's no reason why $_GET wouldn't work to get the val
Thanks for your replies.
I know that in the example, there is a server-side code called "search.php"
that list all of the autocomplete list. And in that files the words that we
type was get by $_GET['q'].
Now my problem is, as I mentioned before, that it can pass the country ID
with extra params,
I don't see what the problem is and what you want help on. You have
the code right there that essentially does what you want.
You just have to build the server-side code to select only cities with
the selected country and a match to the autocomplete text.
... or did you want someone to build all o
The issue was that I was using a Dialog to show progress for AJAX progress
and that was stealing the focus from the text input. I hacked around it,
but I think if I stopped using Dialog, that the focus would no longer be an
issue. Thanks, L
On Wed, Apr 15, 2009 at 9:17 PM, Tom Worster wrote:
>
On 4/15/09 4:21 PM, "Lance Speelmon" wrote:
> Unfortunately, that did not work for me... I have tested with both
> Safari4 and FF3. Any other ideas? Thanks, L
try using only the style sheet supplied with the plugin. if keyboard nav
works then you can work from that back to your preferred sty
Unfortunately, that did not work for me... I have tested with both
Safari4 and FF3. Any other ideas? Thanks, L
http://www.w3.org/
TR/html4/strict.dtd">
http://ajax.googleapis.com/ajax/libs/
jqueryui/1.7.1/themes/smoothness/ui.all.css" rel="stylesheet" />
http://ajax.googleapis.com/ajax/lib
i finally figured this out after a lot of trial and error.
for keyboard navigation of the suggestions menus to work you must have a
style rule for the element li.ac_over defined i your css. i was astonished
when i discovered this but after reading the script i think i have a notion
how this can b
On Dec 4, 6:46 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Take a look at the source of this
> demo:http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html
>
Thanks, that did the job. For future googlers this is what I did:
var data = [ {name:'Jeff', id:'1234'}, {name:'Link'
Take a look at the source of this demo:
http://dev.jquery.com/view/trunk/plugins/autocomplete/demo/json.html
That should be very close to what you're looking for.
Jörn
On Thu, Dec 4, 2008 at 4:13 PM, monk.e.boy <[EMAIL PROTECTED]> wrote:
>
> My JS:
>
> var data = [ {text:'Link A', url:'/page1'},
My JS:
var data = [ {text:'Link A', url:'/page1'}, {text:'Link B', url: '/
page2'} ];
$().ready(function() {
$("#names_autocomplete")
.autocomplete(data, {mustMatch: true, autoFill: true,
matchContains: false})
//.result(fu
Could you provide a testpage?
Jörn
On Thu, Dec 4, 2008 at 1:01 PM, monk.e.boy <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have got the autocomplete from:
> http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
>
> And looking at the last example: http://docs.jquery.com/Plugins/Autocomp
Looks like you're on the right track to me. That's how I would do it.
On Feb 22, 11:59 am, "Priest, James (NIH/NIEHS) [C]"
<[EMAIL PROTECTED]> wrote:
> I'm using Jorn's Autocomplete plugin and am successfully using it to
> return a list of users along with a user_ID. What I'd like to do now is
16 matches
Mail list logo