ledge.
>
> 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 wrote:
>> thanks.
>>
>> i thought of using a timeout and it could probably be made to work fairly
>&
2" wrote:
>
> 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
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?
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" 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' key.
>
> How do
On 7/2/09 5:49 AM, "gnjunge" 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 field.
>
>
On 6/30/09 9:03 AM, "hobbesdev" 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 validate the emailadr
On 6/26/09 11:14 AM, "lazytt" 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) {
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 http://docs.jquery.
On 6/27/09 11:15 AM, "Peter Marino" 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 the text en
On 6/27/09 5:11 AM, "bharani kumar" 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 select the airport
On 6/10/09 1:17 PM, "Brad" 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 key value that
On 6/10/09 1:11 AM, "smiling_face" 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/5/09 3:37 AM, "BBCLX" 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 quite annoying.
On 6/4/09 2:17 PM, "James" 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 automatically matche
n't it easier to do in the backend than in
client js?
> 2009/6/2 Tom Worster
>
>>
>> On 6/1/09 2:48 PM, "Gui" wrote:
>>
>>> I'm currently using this JQuery autocomplete plugin. It fits my needs,
>>> pretty cool, however I'm
On 6/3/09 10:49 AM, "AlexKV" 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 somewhere and that the cl
On 6/1/09 2:48 PM, "Gui" 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 (á, à, é, í, ó, ú and so
On 6/1/09 1:16 PM, "waseem sabjee" 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 element to be 0,
On 5/31/09 5:36 PM, "Alec" 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 searching for "q
On 5/30/09 5:15 PM, "Dushyant Patel" 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 pass and these
On 5/30/09 12:31 PM, "Marc" 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 city and then
> i
On 5/30/09 5:15 AM, "Adrian Grigoras" 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
> need to autocomplete
i assume you are using this plugin?
http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/
if so, why did you put the call to autocomplete() inside an event handler?
normally autocomplete() is called on page ready and it establishes its own
event handlers.
On 5/22/09 1:50 PM, "the_g
On 5/20/09 10:02 AM, "SamCKayak" 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 it is not dependent
On 5/19/09 3:36 PM, "jakemonO" 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 extraParams call,
On 5/18/09 2:57 AM, "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 past that a usefu
On 5/14/09 8:58 AM, "Ulf Renman" 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 perfect example
On 5/14/09 3:20 AM, "phusys" 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 delivering the f
On 5/13/09 2:23 PM, "nat" 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 this. How do I
> d
On 5/11/09 2:46 PM, "Dushyant Patel" 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:
http://en.wikipedia.org/wiki/Same_
On 5/8/09 3:36 PM, "Logan Green" 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 (it's been nearly a
On 5/5/09 1:59 PM, "tudela" 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 clicking in a
On 5/5/09 7:51 PM, "Seth" 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 you perhaps enabl
On 5/5/09 6:09 PM, "Mike Harris" 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 greatly appreciat
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/27/09 5:25 AM, "Matthew Vickery" 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
before i knew of jquery.
On 4/26/09 9:31 PM, "Jordon Bedwell" 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 called
> it
On 4/26/09 9:12 AM, "mattvick" 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 of the results in the
On 4/26/09 2:06 PM, "Marc" 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,
>ex
On 4/24/09 7:39 PM, "Calvin" 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 other people's code
On 4/23/09 10:27 PM, "pjecty" 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?
http://docs.jquery.com/Plugins/A
On 4/22/09 10:18 AM, "ldexterldesign" 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 the hide/show w
On 4/20/09 10:35 PM, "James" 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 tha
On 4/20/09 10:32 PM, "Pitt Phunsanit" 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'].
>
> $("#isearch").autocomplete("sea
On 4/19/09 10:17 PM, "HaiLin" 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 author' o
On 4/17/09 12:49 PM, "Lance A. Brown" 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_dat
On 4/16/09 2:50 PM, "Lance A. Brown" 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.
>
> My java script
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" wrote:
>
> The behaviour is described here:
> http://docs.jquery.com/Plugins/
On 4/17/09 7:14 AM, "dajaniel" 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 this...
check out the documen
On 4/16/09 6:44 PM, "tatlar" 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 field based on the num
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
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 t
On 4/15/09 2:27 PM, "tatlar" 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 narrowed to one statio
On 4/15/09 3:19 AM, "borutt" wrote:
> GET /PHP/data.php?sid=0.179863580913668&q=%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 what 'QueryStr
On 4/14/09 6:21 PM, "James" wrote:
>
> $('.things').bind('focus change click', function() {
> // your code here
> });
ah ha! thanks. that is tidy.
tom
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)]?
On 4/14/09 11:54 AM, "borutt" 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 the html head
On 4/14/09 4:36 AM, "borutt" 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:
>
was the page with the form containing the input element explicitl
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" 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
On 4/7/09 6:26 PM, "Franck Y" 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 the matchCont
On 4/7/09 1:00 PM, "skunkwerk" 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 display a piec
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 fo
On 4/7/09 2:19 AM, "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 with
autocompletion qu
64 matches
Mail list logo