[jQuery] autocomplete plugin - filtering a table

2007-05-14 Thread Jose
Hi, would it be possible to have an option so that the result output is a table instead of a list ? This is useful when you just want to filter a table (or use the table row to select fields for a form). Related to this, how can I set the width of the results so that is wider than the

[jQuery] Re: ..animation question..

2007-05-14 Thread Alexandre Plennevaux
Personally, i would suggest that you consider this: if what you want to set up goes more into animations, effects rather than enhancing ergonomy or usability, embed a flash file where you will be able to achieve the perfect visual effect instead of doing it all in javascript. I'm not saying you

[jQuery] refferencing multiple XMLHttpRequests

2007-05-14 Thread emi polak
The manual states that $.ajax() returns the XMLHttpRequest that it creates. How would these objects be referenced? I want to have multiple ajax calls and be able to execute different ajaxSuccess code on each. Could you provide an example please? Thank you for your time! Emi

[jQuery] Validate optional field

2007-05-14 Thread Oddish
I'm trying to validate an optional field with the validation plugin, using a custom method. Here's the code: rules: { birthdate: { validBirthdate:true } }, messages: { birthdate: { validBirthdate: Invalid birthdate } } How do I make this field optional? I only want to check

[jQuery] Wrapping text in several columns

2007-05-14 Thread bohtho
I tried the search but since English is not my native language my search may have missed previous posts about this. I was wondering how to do this http://www.csscripting.com/css-multi-column/ or preferably this http://www.mindsack.com/uxe/autoflow/ with jquery. Point is that I want to

[jQuery] [ANN] Tabs plugin update

2007-05-14 Thread Klaus Hartl
Hi all, a few updates for the tabs plugin: * CSS update: I made the tabs width/height flexible again, still having a mininmal width... - because people didn't stop asking :-) * I've added a method activeTab to retrieve the currently selected tab, usage is: var index =

[jQuery] Detecting the next url when onunload called?

2007-05-14 Thread [EMAIL PROTECTED]
Is it possible to get the browsers next url from an onunload call? I'm trying to determine if a user is leaving my site, and if they are, send an ajax request.

[jQuery] per jQuery inserted script does not fire in IE6

2007-05-14 Thread micha_17
maybe i'm wrong but this is what i'm doing right now: i'm inserting portions of html in an existing page like that: div id=container p id=foofoo/p !-- insert here -- /div pa href=#insert/a/p clicking on the link will actually insert something like this: pBar/p script ,,,alert(i'm

[jQuery] Re: Detecting the next url when onunload called?

2007-05-14 Thread [EMAIL PROTECTED]
I think that might be hard to do. One way of solving part of the problem is to bind a function to all links on the page, and do a check if the link they clicked on goes to another site, then you could perform your ajax-request, and then send them on their way. This only works when they click on

[jQuery] Re: Text Highlighting from Search

2007-05-14 Thread Renato Formato
Glen Lipka ha scritto: I have a search which yields a URL like this: (searching for [jets daniel]) http://www.commadot.com/index.php?s=jets+danielsearchsubmit=Search http://www.commadot.com/index.php?s=jets+danielsearchsubmit=Search http://www.commadot.com/index.php?s=Jetssearchsubmit=Search

[jQuery] Re: refferencing multiple XMLHttpRequests

2007-05-14 Thread emi polak
It never crossed my mind that this could be so simple :) Thanks, Rob! Emi On 5/14/07, Rob Desbois [EMAIL PROTECTED] wrote: Hi Emi, You don't need to reference the XHR object to achieve that, just create two requests with different success functions: $.ajax({type: POST, url: foo.php

[jQuery] Re: Threshold for saving textarea content with AJAX

2007-05-14 Thread spinnach
just as a side note, to be totally unobtrusive and to separate your js from the rest of the content, you could do something like this: $(document).ready(function(){ $('#notepad').bind('keyup', notepadSave).bind('keydown', notepadClear); }); that way all your javascript stays in the

[jQuery] Question about load()

2007-05-14 Thread wyo
I consider to embed a page from one domain into a page from another domain with an iframe. Yet when I click a link inside the embedded page, only the embedded part should be loaded without involving the outer page. Does anybody know if I could do this with load()? Has anybody already tried

[jQuery] Tutorial example problem with Firefox?

2007-05-14 Thread Meburke
The example for Chainability works fine in IE6 and Mozilla, but does not work in Firefox (2.0.0.3). When I click on the jquery no alert shows up and I just get a new tab to the jquery site, when I click on the You are now leaving the site. link, it opens up another tab, and the same things happen

[jQuery] Re: ..animation question..

2007-05-14 Thread Brandon Aaron
Nice. Thanks for clarifying that John! -- Brandon Aaron On 5/14/07, John Resig [EMAIL PROTECTED] wrote: Nope! jQuery uses only one timer for all animations now (even across multiple elements). It helps drastically, with performance. --John On 5/13/07, Brandon Aaron [EMAIL PROTECTED] wrote:

[jQuery] Re: Detecting the next url when onunload called?

2007-05-14 Thread [EMAIL PROTECTED]
It doesn't have to let the browser know that its finished, as it will just be calling a function to release any reservations that aren't complete. It doesn't have to be 100% reliable as they are released after a timeout by default, but the faster they are freed up the better. The problem I have

[jQuery] Re: Validate optional field

2007-05-14 Thread Dan G. Switzer, II
I'm trying to validate an optional field with the validation plugin, using a custom method. Here's the code: rules: { birthdate: { validBirthdate:true } }, messages: { birthdate: { validBirthdate: Invalid birthdate } } How do I make this field optional? I only want to check

[jQuery] Re: autocomplete plugin - filtering a table

2007-05-14 Thread Dan G. Switzer, II
Jose, would it be possible to have an option so that the result output is a table instead of a list ? This is useful when you just want to filter a table (or use the table row to select fields for a form). You can use the formatItem mapping to map to a function to use to generate the formatting

[jQuery] callback in a plugin

2007-05-14 Thread Alexandre Plennevaux
hello! Could someone explain me how to implement the ability to send a list of commands to be performed by a plugin when it is done ? (i believe this is called a callback function ? ) i would like to add this to the jqUploader plugin, so that i could do something like: function

[jQuery] archives for development list no longer available ?

2007-05-14 Thread [EMAIL PROTECTED]
The jquery dev list archives available here http://docs.jquery.com/Discussion#Archives doesn't seem to be available any longer. Has it been moved to another location ?

[jQuery] Re: .ready() unreliable due to IE6 inconsistencies?

2007-05-14 Thread pd
Hi John Firstly due recognition: **bowing down to the master** :) jQuery is like gold, sensational, thank you. Re jQuery Flash yes two very specific reasons, one of which I raised in the dev list after the flash plugin author suggested it seemed to be overlooked. That is the ActiveX issue with

[jQuery] does a jQuery plugin similar to Targetorder exist?

2007-05-14 Thread Burobjorn
Hi everybody, I was hoping somebody could me tell me if TargetOrder[1] also exists as jQuery plugin? [1] http://www.dancinginquicksand.com/targetorder/ All the best, grtz BjornW

[jQuery] Re: archives for development list no longer available ?

2007-05-14 Thread John Resig
It's in the process of being moved over to Google Groups. I'll be sure to let everyone know when that process is complete. --John On 5/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The jquery dev list archives available here http://docs.jquery.com/Discussion#Archives doesn't seem to be

[jQuery] Re: Threshold for saving textarea content with AJAX

2007-05-14 Thread Fil
var notepad; function notepadSave() { notepad=setTimeout(function() { $.post(ajax.php,{ page: notepad, notepad: encodeURI($('#notepad').val()) }); },3000); } I like this; but how do you program the

[jQuery] Re: Tutorial example problem with Firefox?

2007-05-14 Thread Bil Corry
Meburke wrote on 5/14/2007 4:58 AM: The example for Chainability works fine in IE6 and Mozilla, but does not work in Firefox (2.0.0.3). Which specific example are you referring to? - Bil

[jQuery] Re: callback in a plugin

2007-05-14 Thread Renato Formato
Alexandre Plennevaux ha scritto: i would like to add this to the jqUploader plugin, so that i could do something like: function pleaseDoTheseThings (params){ $(#dothis).show(); } $(input#example1).jqUploader({ background: FF9900, barColor: FFDD00,

[jQuery] Re: callback in a plugin

2007-05-14 Thread Alexandre Plennevaux
Ok, in the meanwhile i found the plugin documentation (sitting right on the homepage, i must had a fit of blindness :)) so i just have to do it as an additional option. Thanks a lot for the clear explanation renato ! I know this sounded like a stupid question, but i'm just not feeling at home

[jQuery] Re: Wrapping text in several columns

2007-05-14 Thread Su
I would love to see this myself. I've used the cssscripting.com version on a site already, but I'm not looking forward to the day its IE7 readership gets high enough to matter. It's totally broken in that browser, and they haven't touched the code in ages, so I'm guessing it's been abandoned.

[jQuery] Re: autocomplete plugin - filtering a table

2007-05-14 Thread Jose
On 5/14/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote: You can use the formatItem mapping to map to a function to use to generate the formatting for each row. While your output will still be wrapped in a li /, you could generate div / tags to emulate a tabular layout. Yes, this works.

[jQuery] passing values to jquery selector via function

2007-05-14 Thread stef
even as a beginning javascript coder im very impressed with what jquery can do. however im having a small issue i can not figure out. im using jquery selectors to toggle visibility of a few divs and instead of hardcoding the id's of the divs into functions id like to pass the id as a parameter to

[jQuery] Re: Detecting the next url when onunload called?

2007-05-14 Thread Bil Corry
[EMAIL PROTECTED] wrote on 5/14/2007 6:21 AM: If it's not possible then it's not possible, just wondering if anyone had done something similar in the past. I don't think it's possible. And know that hitting the back button or reloading the page will trigger the onunload as well. One

[jQuery] Re: passing values to jquery selector via function

2007-05-14 Thread Tulio Faria
you can try doing this: function toggle(value) { $(#+value).css(display,block); } Tulio Faria www.tuliofaria.net On 14 maio, 13:12, stef [EMAIL PROTECTED] wrote: even as a beginning javascript coder im very impressed with what jquery can do. however im having a small issue i can

[jQuery] jquery tabs: adding a tab on the fly

2007-05-14 Thread [EMAIL PROTECTED]
Hi, Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible- unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to add a new tab after the page has loaded and the tabs have already been constructed? That is, I have already made this call

[jQuery] jQuery Articles

2007-05-14 Thread Rey Bango
Hi guys, Just keeping everyone in the loop. Here are some recent jQuery articles that have come out: http://www.dzone.com/rsslinks/autocomplete_field_with_jquery_code_explained.html http://www.dzone.com/rsslinks/easy_ajax_with_jquery.html If you don't subscribe to the DZone feed, you should

[jQuery] Re: jquery tabs: adding a tab on the fly

2007-05-14 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: Hi, Regarding JQuery Tabs (http://stilbuero.de/2006/05/13/accessible- unobtrusive-javascript-tabs-with-jquery/), is there an elegant way to add a new tab after the page has loaded and the tabs have already been constructed? That is, I have already made this call

[jQuery] Re: Interface: fix for ifxhighlight

2007-05-14 Thread Priest, James (NIH/NIEHS) [C]
So I finally got around to looking at this - in the past I've always used the friendly 'download' menu on the Interface site - which appears to grab the appropriate files you select, check dependencies, pack them and provide you a nice interface.js. Can anyone explain how I would go about

[jQuery] Tabs

2007-05-14 Thread [EMAIL PROTECTED]
Hello. I am new to this group. I would like to implement tab plugin into my site. I have read the articles on http://stilbuero.de/2006/05/13/accessible-unobtrusive-javascript-tabs-with-jquery/ but i am still have problems figuring out howto make this run. Here is my code. script src=jquery.js

[jQuery] Re: passing values to jquery selector via function

2007-05-14 Thread stef
perfect, thanks! On May 14, 6:24 pm, Tulio Faria [EMAIL PROTECTED] wrote: you can try doing this: function toggle(value) { $(#+value).css(display,block); } Tulio Fariawww.tuliofaria.net On 14 maio, 13:12, stef [EMAIL PROTECTED] wrote: even as a beginning javascript coder

[jQuery] Re: Tabs Plugin - Hiding all Tabs at startup

2007-05-14 Thread tobaco
hm, :-/ sad to hear. do you have any suggestions how to do this in a quick and dirty version? thanks! On 14 Mai, 19:04, Klaus Hartl [EMAIL PROTECTED] wrote: tobaco wrote: hi there, is it possible to hide all tab-container at start-up and also not select the current tab in the

[jQuery] autocomplete plugin - disabling click event handlers

2007-05-14 Thread Jose
Hi, Is there a way to disable the li click handler so that any links created with formatItem can be clicked ? thanks

[jQuery] tagging

2007-05-14 Thread jquery newbie
hi - i need to implement del.icio.us style tagging mechanism. that involves a list of hyperlinked keywords that when clicked add or remove or their text to an inputbox and inputbox supporting autosuggest for each of the words after the separation character. i am surprised to see that it is not

[jQuery] Re: jquery tabs: adding a tab on the fly

2007-05-14 Thread [EMAIL PROTECTED]
Thanks for this info. One thing I notice when doing this is that when I reinitialize the tabs, a whole new group of div id=remote-tab-# containers gets created. So for example, if there were 5 tabs initially, and then I try and add a 6th, after reinitialization, there are now div

[jQuery] Re: Tabs

2007-05-14 Thread Sean Catchpole
Try adding the following at the end of the code: script type=text/javascript $.tabs(container); /script ~Sean --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups jQuery (English) group. To post to this group, send

[jQuery] Re: Detecting the next url when onunload called?

2007-05-14 Thread Sean Catchpole
This is what I would do: //inside head leavingSite = false; window.onunload = function(){ leavingSite = true; setTimeout(if(leavingSite){ [insert ajax] },2000); } If the new page does not load in 2 seconds or the user left the site, then the script will execute. (although I'm not sure what

[jQuery] Re: tagging

2007-05-14 Thread Jake McGraw
Something like this? JavaScript: $(function(){ $(span.tag).click(function(){ var input = $(input.tagtext); if (input.val().search(new RegExp(\\b+$(this).text()+\\b,i))===-1) { input.val(input.val()+ +$(this).text()); } return

[jQuery] Re: Tabs

2007-05-14 Thread Ryan Schoenbach
Thanks. That solved my problem. I have another problem :-\. I would like to try and set up a form that does a post self and return to the container that the person just sent the form from. Anybody have any ideas into this issue? Thanks Ryan Schoenbach -Original Message- From: Sean

[jQuery] Retrieving specific xml node from xml document

2007-05-14 Thread chillstroll
Greeting all, I'm sure this is quite simple; however not sure how do it. I want to be able to get a specific xml node from the xml document using a function call after I have initially retrieved it with jquery. Hope my code will explain better: XML DOC: ?xml version=1.0 encoding=ISO-8859-1?

[jQuery] Re: Retrieving specific xml node from xml document

2007-05-14 Thread Benjamin Sterling
Chill, do you have a live version we can look at? Also, getShow(this); the this is referring to the link and not what you think. Not exactly sure what this is supposed to refer to, but you should do it like getShow('+this+'); On 5/14/07, chillstroll [EMAIL PROTECTED] wrote: Greeting all,

[jQuery] Re: Retrieving specific xml node from xml document

2007-05-14 Thread Benjamin Sterling
Also, you should be able to do something like $('guest', xmlnode).text(); -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com

[jQuery] Re: Retrieving specific xml node from xml document

2007-05-14 Thread Jake McGraw
Couple of things: 1. this is automatically cast to which ever context you're using it in, in your case, since you haven't escaped any quotations, when the inline script is run, you're operating within the context of the anchor, a, element so the anchor gets passed to the getShow() function,

[jQuery] Determining event bindings?

2007-05-14 Thread Brad Perkins
I'm mainly interested in this as a debugging tool, but is it possible at a given time to determine which jQuery objects have events bound to them, and to get details about the bindings? Also is it possible to determine if an object has the same event bound more than once? I had a situation this

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brandon Aaron
You can check the DOM Inspector in Firebug (looks for the $events expando). You might want to read the short article as it might give some insight to looking at events on elements. http://www.learningjquery.com/2007/03/selecting-elements-by-properties-and-dom-expandos Also recently on the list

[jQuery] Re: Retrieving specific xml node from xml document

2007-05-14 Thread chillstroll
Bejamin, Thanks for the quick reply. I don't have a live version yet. It's only on my local right now. You're right.. this is not what I'm looking for there. I want to pass either the (array) id of the specific xmlnode or something to the function getShow() so that I can retrieve and display the

[jQuery] Memory leak in Interface:Sliders?

2007-05-14 Thread Geoffrey Knutzen
I just opened up http://interface.eyecon.ro/demos with drip and there seems to be a number of leaks. Or is this a problem with drip? -Geoff

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brad Perkins
On May 14, 4:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote: You can check the DOM Inspector in Firebug (looks for the $events expando). You might want to read the short article as it might give some insight to looking at events on

[jQuery] Re: Determining event bindings?

2007-05-14 Thread Brandon Aaron
Found it: http://groups.google.com/group/jquery-en/browse_thread/thread/46ecc1db4ad3464b/8a6c2c234975f0e2 -- Brandon Aaron On 5/14/07, Brad Perkins [EMAIL PROTECTED] wrote: On May 14, 4:13 pm, Brandon Aaron [EMAIL PROTECTED] wrote: You can check the DOM Inspector in Firebug (looks for

[jQuery] Re: Retrieving specific xml node from xml document

2007-05-14 Thread chillstroll
Jake, I will try your suggestions out tomorrow and let you know. Thanks for the detailed response..Very helpful. On May 14, 4:59 pm, Jake McGraw [EMAIL PROTECTED] wrote: Couple of things: 1. this is automatically cast to which ever context you're using it in, in your case, since you

[jQuery] remove() callback

2007-05-14 Thread Equand
is there any way to make a remove function with callback? so after removing an element a callback function starts?

[jQuery] Re: Detecting the next url when onunload called?

2007-05-14 Thread Final Coat Design
This might be what you are looking for. $('a').bind('click', function(event) { event.preventDefault(); newHref = $(this).attr('href'); // // = Do something = // window.location = newHref; }); [EMAIL PROTECTED] On

[jQuery] Re: remove() callback

2007-05-14 Thread Erik Beeson
The empty() function is synchronis (sp?). It won't return until it's finished. --Erik On 5/14/07, Equand [EMAIL PROTECTED] wrote: is there any way to make a remove function with callback? so after removing an element a callback function starts?

[jQuery] Re: remove() callback

2007-05-14 Thread Erik Beeson
err, you said remove, not empty. But the same thing is true. --Erik On 5/14/07, Erik Beeson [EMAIL PROTECTED] wrote: The empty() function is synchronis (sp?). It won't return until it's finished. --Erik On 5/14/07, Equand [EMAIL PROTECTED] wrote: is there any way to make a remove function

[jQuery] Re: remove() callback

2007-05-14 Thread Equand
but empty clears the element. and I need only to remove a particular element... if i use empty, i need to clear the parent. but there are some elements in parent which should not be removed... On May 15, 7:00 am, Erik Beeson [EMAIL PROTECTED] wrote: The empty() function is synchronis (sp?). It