.
Specifically what are you trying to accomplish by wiring an event
handler to fire after the default action?
On Aug 20, 10:39 pm, Tom Worster f...@thefsb.org wrote:
thanks.
i thought of using a timeout and it could probably be made to work fairly
well. but i'd be left with the worry that some user's
is there a way to set up a page so that a event handler function is bound to
a DOM object and event but it runs _after_ the browser's default action is
complete?
:
This is crude, but might work for you...
$(#someId).click()(function() {
set_timeout(function() {
// stuff to be done 2ms from now
}, 2);
});
You might have to play with the set_timeout delay a bit, 2ms might be
too short.
On Aug 20, 3:47 pm, Tom Worster f...@thefsb.org wrote
does anyone use a jquery time entry control? which one?
i'm looking at this one: http://keith-wood.name/timeEntry.html which seems
ok. i'd be interested to know what others are using and what you think of
them.
On 7/20/09 1:06 PM, koichirose koichir...@gmail.com wrote:
Hello, I'm using jQuery Autocomplete (
http://docs.jquery.com/Plugins/Autocomplete
) to display results from a php page.
Since that is my only field, I want to submit the form when I click on
the result or I press the 'return'
On 7/2/09 5:49 AM, gnjunge gju...@gmail.com wrote:
Concerning Jörn Zaefferer autocomplete.
In many cases the autocomplete list is being filled with Key Value
pairs, such as a list of FooBars with their name and id. Using the
result function one would get the id, and drop it into a hidden
On 6/30/09 9:03 AM, hobbesdev hobbes...@googlemail.com wrote:
hi,
i have in input element where the user can enter multiple email
addresses (like in thunderbirds to: field)
i use autocomplete to make suggestions form the database when the user
enters new adresses.
then i want to
to set extraParams dynamically to the current value of other dom elements,
assign a function to the extraParams that retrieves the value from the dom,
e.g.
$(#state).autocomplete(url, {
extraParams: {
town: function() { return $(#town).val(); }
}
});
see
On 6/26/09 11:14 AM, lazytt mbre...@gmail.com wrote:
Hello. I'm having a problem with the following code:
$(.prodname).livequery(function(){ $(this).autocomplete
(search.php, {
extraParams: { 'type':'products' }
}); });
$(.prodname).livequery(function(e){ $(this).change(function(e) {
On 6/27/09 5:11 AM, bharani kumar bharanikumariyer...@gmail.com wrote:
Hi all ,
I used the auto suggest / complete in my lot of projects ,
But this is some what different ,
I need the auto suggest plugin , that auto suggest
must work based on the dropdown selection ,
Assume if
On 6/27/09 11:15 AM, Peter Marino marino.pe...@gmail.com wrote:
when I use the $(.main_view).load( my.php );
all my danish letters are rendered wrong.
is there something I need to do in the my.php to make sure it
shows the danish characters correctly?
anyone?
perhaps my.php is returning
On 6/10/09 1:11 AM, smiling_face rd.welco...@gmail.com wrote:
first of all thanks for your gr8 plugins to add autocomplete feature
using jquery. but I am facing a problem to implement this in my
application. As in error console it is showing
syntext error
.ac_results {
On 6/10/09 1:17 PM, Brad nrmlcrpt...@gmail.com wrote:
I have an Autocomplete on a form that uses local data. However, the
input allows users to enter values that are not in the local data
array. If the user enters and selects matching data the .result
callback function sets a corresponding
On 6/4/09 2:17 PM, James james.gp@gmail.com wrote:
What are you using to do the string matching?
depends on the kind of search i need.
For me, I was using autocomplete to search for something stored in a
MySQL database,
i think that's a very common scenario.
and MySQL by default
On 6/5/09 3:37 AM, BBCLX beat.bes...@gmail.com wrote:
I am using the plugin in remote-mode meaning that I fetch a
seperated list from my server. The problem now is that this server
uses basic authentication and whenever I start typing I get prompted
for the username and password, which is
it easier to do in the backend than in
client js?
2009/6/2 Tom Worster f...@thefsb.org
On 6/1/09 2:48 PM, Gui guilhermealcant...@gmail.com wrote:
I'm currently using this JQuery autocomplete plugin. It fits my needs,
pretty cool, however I'm having a hard time with accents. If I type:
Antonio
On 6/3/09 10:49 AM, AlexKV alexander.we...@kv-rlp.de wrote:
If the Autocompleter ist active and I click somewhere else on the page
to close the autocompleter, the autocompleter inputbox will be
focused. Can I change this behavior? I want that the autocompleter
will be closed if I click
On 6/1/09 2:48 PM, Gui guilhermealcant...@gmail.com wrote:
I'm currently using this JQuery autocomplete plugin. It fits my needs,
pretty cool, however I'm having a hard time with accents. If I type:
Antonio, the plugin won't retrieve Antônio. I mean, it won't handle
the special characters
On 5/30/09 5:15 AM, Adrian Grigoras adrianc.grigo...@gmail.com wrote:
I use JQuery.Autocomplete to autocomplete values into one field.
Depending on the first field, I also need to populate a second field.
For example:
I autocomplete the Name field and depending on the selected name I
On 5/30/09 12:31 PM, Marc marc.st...@gmail.com wrote:
I am using jquery.autocomplete in a search for schools. I have
optional fields (referenced as extraParams) which allow the user to
narrow the search to a specific state and city.
This part works fine. If the user selects a state and
On 5/30/09 5:15 PM, Dushyant Patel patel.dushy...@gmail.com wrote:
Hi All,
I am using AutoComplete plug-in, its working great for me. But now i
have some new requirement and i am not able to make it work with
autocomplete.
Requirement is as follow:
Now i need 2 extra parameter to
On 5/31/09 5:36 PM, Alec alec.mil...@gmail.com wrote:
http://docs.jquery.com/Plugins/Autocomplete
Say I have the following entry in a data array:
Quick brown fox
Is it possible to return this entry when I search for e.g. qui fox?
At this moment I can only get this result when
On 6/1/09 1:16 PM, waseem sabjee waseemsab...@gmail.com wrote:
i good thing to do is to declare this styles on your default / index page
/*
keep your page defaults the same across each browser
*/
html {
width:100%;
height:100%;
}
/*
declare the initial margin and padding of each
On 5/19/09 3:36 PM, jakemonO jakeo...@gmail.com wrote:
Is there a way to change the ?q= parameter name to something that was
predefined by the JSON emmitter? For example, Lotus Domino expects the
querystring to be of the form ?Startkey=... . Alternately, I can put
that query in the
On 5/20/09 10:02 AM, SamCKayak s...@elearningcorner.com wrote:
Is there a cross-browser jQuery plug-in that can preload several
different mp3 audio files and provide play / stop methods?
yes. http://plugins.jquery.com/search/node/mp3+type%3Aproject_project
but for mp3 i really like 1bit. but
On 5/18/09 2:57 AM, ulf.ren...@gmail.com ulf.ren...@gmail.com wrote:
My best though right now is to patch the plugin to include another
option - substituteValue - which could be a function that validates
and rewrites the data in any desired way before the match is done.
i've thought in the
On 5/14/09 8:58 AM, Ulf Renman ulf.ren...@gmail.com wrote:
When typing data into the autocomplete-field the list of matches is updated
at every key pressed.
Is it possible in any way to check and correct the data before doing the
match. Or could you alter the way the match is done.
The
On 5/14/09 3:20 AM, phusys alessio.f...@gmail.com wrote:
I need to show 3 select box (country, state, city) with data get from
a mysql database and when a user select a value from one of the select
box the other shows chained data.
How can I do this with jquery?
fill the first select before
On 5/13/09 2:23 PM, nat natasha.d...@gmail.com wrote:
I am working on adding asynchronous form submission inside a jquery
dialog. I am using .ajax().
Everything is working correctly, but the submission takes longer than
I would like.
I am new to jquery and am unsure how to debug/optimize
On 5/11/09 2:46 PM, Dushyant Patel patel.dushy...@gmail.com wrote:
I tried and tired also, finding the way how can i implement
jQuery.Autocomplete plugin with cross domain json?
Can any one help me? or provide me link for that instruction?
not me. but this is worth reading:
On 5/8/09 3:36 PM, Logan Green logangr...@gmail.com wrote:
This tab issue is driving me crazy. Has anyone found a hack/fix that
will allow the tab to work as expected...where the user hits tab once,
and moves to the next field?
not that i am aware of.
given the activity on this plugin
On 5/5/09 6:09 PM, Mike Harris gfunk...@gmail.com wrote:
Does anyone know how I can get the autocomplete dropdown list of
values to appear when the text field gains focus, before the user
types anything. I've been trying to do this, and have so far been
unsuccessful. Any help would be
On 5/5/09 7:51 PM, Seth seth.ta...@gmail.com wrote:
I have a situation where the only valid inputs on my autocomplete
field are the ones supplied by my ajax method. Is there a way to
disable the submit button on my form until the input field contains
one of the autocomplete values?
could
On 5/5/09 1:59 PM, tudela rafael.tud...@gmail.com wrote:
Hi, I was using the autocomplete and found a bug in the click
function, follow the code:
Actual code:
// In this code you need to click twice in the input element to show
the results.
.click(function() {
// show select when
On 4/26/09 9:31 PM, Jordon Bedwell jor...@envygeeks.com wrote:
this is one of two counter-intuitive keyboard behaviors i'm aware of. the
other is tab, which most users would expect to get them to the next form
element.
I'm still scratching my head at how this is counter-intuitive? If you
On 4/27/09 5:25 AM, Matthew Vickery vickery.matt...@gmail.com wrote:
Thanks for your reply. I see what you mean about the tab key... I hope
someone offers you some advice so you can use the plugin without branching.
i already have an auto-completion of my own that i wrote a few years ago
when using show() and hide(), what's the right way for the script to read
the state of the element? i've found that attr('display') can be used but
this seems like an undocumented hack and could fail in future releases of
jquery.
On 4/26/09 2:06 PM, Marc marc.st...@gmail.com wrote:
I have a silly question...
I am using extraParams to pass additional field values via the URL
$(#findHighSchool).autocomplete(autocomplete_ajax.cfm, {
width: 260,
selectFirst: false,
On 4/26/09 9:12 AM, mattvick vickery.matt...@gmail.com wrote:
I need the list of results to appear without any of them highlighted
so hitting the return key submits the form without updating the text
in the search field. I still need the search field to update, and the
form submit, if any
On 4/24/09 7:39 PM, Calvin cstephe...@gmail.com wrote:
Does anyone have any advice in regard to refactoring jQuery code to
make it more efficient/elegant/simple?
certain coding styles are implied by the jq apis, e.g. chaining, that i
think may lead to efficiency gains. i've been reading
On 4/23/09 10:27 PM, pjecty pje...@gmail.com wrote:
Is there's a way to link each seach result value in the localdata.js
to another page so that when i search for something and click it, it
goes to another page?
could you write such redirection into a .result() handler?
On 4/22/09 10:18 AM, ldexterldesign m...@ldexterldesign.co.uk wrote:
Hey guys,
I have 10 separate posts displayed on a page. I want to hide 7 (of the
oldest) of them and display a link; 'show more posts' - kinda a
pagination thing I guess.
My PHP pumps out 10 posts, and I'd like to do
On 4/20/09 10:32 PM, Pitt Phunsanit phunsa...@gmail.com wrote:
i found some blobem from autocomplete plugin
valible isearch don't send to php script
the value of the field is sent in the q parameter. write your php script
to use $_GET['q'] instead of $_GET['isearch'].
On 4/20/09 10:35 PM, James james.gp@gmail.com wrote:
Try:
$(#isearch).autocomplete(search_result.php, {
extraParams:{isearch:$(#isearch).val()},
width:542,
multiple: true,
matchContains:true,
cacheLength:0,
minChars:1,
delay:0
});
i'm not sure
On 4/19/09 10:17 PM, HaiLin myu...@gmail.com wrote:
I have some problems about jQuery autoComplete plugin. I use this one:
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/.
Here are problems:
(1) select in IE6. It seems this can be fixed by using bgiframe
plugin. Here is the
On 4/16/09 6:44 PM, tatlar robertlnew...@gmail.com wrote:
So, I got around this by creating another JSON file that is just an
array of station names. Autocomplete now parses this just fine, and my
first field is completed. The next part was more tricky - how to
populate the second input
On 4/17/09 7:14 AM, dajaniel daniel.howe...@googlemail.com wrote:
My jquery is pretty sketchy so I was wondering if anybody knew how to
submit the form that the search field appears in on click of a result
(after having populated the textfield and any other fields)? Not sure
how to do
i also detected some difference between the demo's behavior and the docs.
i'm not sure what sequence of ui actions led to the result in the attached
png but i've seen it twice now.
On 4/17/09 8:17 AM, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote:
The behaviour is described here:
On 4/16/09 2:50 PM, Lance A. Brown la...@bearcircle.net wrote:
I'm working on adding autocomplete to a form which describes a
discussion paper. Each paper can have multiple authors and I want to
provide autocomplete on the author names. I'm new to jQuery so this
code is kind of rough.
On 4/17/09 12:49 PM, Lance A. Brown la...@bearcircle.net wrote:
Tom Worster wrote:
what autocomplete plugin are you using? this one does not have a documented
parse option:
http://docs.jquery.com/Plugins/Autocomplete/autocomplete#url_or_dataoptions
Its the standard autocomplete
On 4/14/09 6:21 PM, James james.gp@gmail.com wrote:
$('.things').bind('focus change click', function() {
// your code here
});
ah ha! thanks. that is tidy.
tom
On 4/15/09 3:19 AM, borutt borut.toma...@gmail.com wrote:
GET /PHP/data.php?sid=0.179863580913668q=%C4%8Duk
%C4%8D is the urlencoding of the utf-8 codepoint for 'č'.
My input was čuk but like it's seen from GET params, q param has
strange chars.
But in QueryString it is ok.
i don't know
On 4/15/09 2:27 PM, tatlar robertlnew...@gmail.com wrote:
I am using Jorn's awesome autocomplete plugin in one form field to
allow a user to quickly narrow down which station they wish to view
visit times for. However, it would be really cool to extend this so
that when the selection is
i have an ajax backend onto a mysql table with about 25 million rows,
including three searchable indexed text columns. i want a form with three
text input fields, each with autocomplete.
1) if all fields are blank when the user starts to type into one of them
then normal autocomplete happens on
On 4/15/09 4:21 PM, Lance Speelmon lancespeel...@gmail.com 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
On 4/14/09 4:36 AM, borutt borut.toma...@gmail.com wrote:
I'm having problem with charset on searching value, that is returned
in param q.
On main page and od page from where script search for data I have
charset placed:
main script:
meta HTTP-EQUIV='Content-Type' Content='text-html;
On 4/14/09 11:54 AM, borutt borut.toma...@gmail.com wrote:
was the page with the form containing the input element explicitly served
with header Content-Type: text/html; charset=Windows-1250? (i check
headers sent in WebKit Inspector, i'm sure there are other ways.)
I have included in
i can assign a handler to one event type thus:
$('.things').focus(function(){
$(this).data('foo', true);
...
});
if i want to assign the same handler to several events, say focus, change,
and click, what's the tidy way to write it [assuming my handler wants to
access $(this)]?
be.
anyway, there it is. put a rule for li.ac_over in your style sheet.
On 4/6/09 6:52 PM, Tom Worster f...@thefsb.org wrote:
I'm unable to make the keyboard selection of suggestions from the
dropdown work in my project, otherwise it works fine and selection
with the mouse is possible
There's a focus grabbing effect I'm interested in. I can demonstrate using
the demo http://jquery.bassistance.de/autocomplete/demo/ :
1. I type Ro into Single Bird (remote), the suggestions appear.
2. But Ro is the value I want to enter into the field. So I want to move
focus to another form
On 4/7/09 2:19 AM, enriquepalaci...@gmail.com enriquepalaci...@gmail.com
wrote:
My cuestion is about this great autocomplete plugin by Jörn, i got it
working using ajax and all... But theres no way to display the results
manually???
i'm interested in this too. i have three form fields, each
On 4/7/09 1:00 PM, skunkwerk skunkw...@gmail.com wrote:
i'm using the autocomplete plugin here (http://docs.jquery.com/
Plugins/Autocomplete) and want to be able to use it with a remote URL,
while at the same time having access to have text displayed one way,
and selected another way (ie
On 4/7/09 6:26 PM, Franck Y franck...@gmail.com wrote:
Is there anyway to implement a regular expression feature.
It does not need to be full regxp butat leat soemthing like star
*ek will match Creek
if what you're looking for is a substring match as opposed to a begins-with
match then see
63 matches
Mail list logo