[jQuery] Re: Delayed execution

2009-04-24 Thread Remon Oldenbeuving
The following will do the trick i guess: var timeout; $('#search').keyup(function(){ clearTimeout(timeout); timeout = setTimeout($.ajax(),200); } On Fri, Apr 24, 2009 at 2:46 PM, Dragon-Fly999 wrote: > > Hi, my page allows the user to enter a number in a text box and a > search request i

[jQuery] Re: Table sorter.

2009-04-24 Thread Remon Oldenbeuving
Is this what your looking for? http://tablesorter.com/docs/example-meta-headers.html On Fri, Apr 24, 2009 at 5:10 PM, Mazi wrote: > > Hallo all. > I'm using this plugin and I consider it fantastic. > > I need in a table to ignore some rows from ordering. > Is it possibile to accomplish a task li

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Remon Oldenbeuving
You could just add classes for open divs? On Fri, Apr 24, 2009 at 4:59 PM, Musixz Man wrote: > Hi all! > > I have anywhere from 3 - 8 DIVs on a page that I open/close (animate height > toggle) via a button and want to close any (one) that are already open when > another is opened - just like an

[jQuery] Re: animate color over time using Timers plugin

2009-04-24 Thread Remon Oldenbeuving
Is there a reason why you dont just use setInterval()? When you do it that way, you are able to make a function for the countdown, and in the function set some nice effects as time passes on. (like fading it from green to blue to red, or something like that). On Fri, Apr 24, 2009 at 4:56 PM, kgoss

[jQuery] Re: "Please Wait While Processing" help

2009-04-24 Thread Remon Oldenbeuving
If youre using ajax you should look at the "Ajax-events" section here: http://docs.jquery.com/Ajax You can easily bind a function to an ajax-event. This way you will be able to freeze the screen, or disable all buttons. On Fri, Apr 24, 2009 at 5:02 PM, Shadraq wrote: > > I've designed a payment

[jQuery] Re: jQuery Recursion/Iteration through JSON variable.

2009-04-24 Thread Remon Oldenbeuving
It is only returning the information of the last entry because you overwrite 'teste' two times. When I change the setting to: var collectionElements = { teste1: { var1: 'teste[]', var2: 'brincadeira-2', var3 : 'Elemento 2' }, teste2:

[jQuery] Re: Animating height but closing any already open (like an accordion)

2009-04-24 Thread Remon Oldenbeuving
Maybe you can use the toggleClass() function? You could give them all a class from the beginning (e.g. closed), and in the animate function you can toggle this class. and use the class $('.closet').animate({height:'toggle',opacity:'toggle'}, 'fast'); You can also use this in combination with the c

[jQuery] Re: div contains -> select div but NOT li

2009-04-27 Thread Remon Oldenbeuving
You could use the event object thats being passed when a click event fires? $('#plan').click(function(e){ if(e.target !== "liobject"){ //You will have to check whats the real target for a list item //here your code } }); On Mon, Apr 27, 2009 at 2:08 PM, gostbuster wrote: > > Okay I'll try to

[jQuery] Re: div contains -> select div but NOT li

2009-04-27 Thread Remon Oldenbeuving
It looks obvious, but aint working for me. On Mon, Apr 27, 2009 at 3:16 PM, Mauricio (Maujor) Samy Silva < css.mau...@gmail.com> wrote: > > > De: "gostbuster" > Assunto: [jQuery] Re: div contains -> select div but NOT li > Hi, > Yes of course I could do this, but Jquery selectors don't allow wh

[jQuery] Re: Firefox onclick problem.

2009-04-27 Thread Remon Oldenbeuving
You should put the $(document).ready function above the function call. so: $(function(){ //Same as $(document).ready(function) function del(mesId){ } }); On Mon, Apr 27, 2009 at 11:48 AM, Ozan wrote: > > Hi I'm a newbie and heres my newbie question.I can't fire my function > with onclick ev

[jQuery] Re: limit drag to a zone

2009-04-27 Thread Remon Oldenbeuving
Hi, First, you should post this in the jquery-ui google group. Second, your request is being handled in the draggable demo page. http://jqueryui.com/demos/draggable/#constrain-movement On Mon, Apr 27, 2009 at 6:27 PM, gostbuster wrote: > > Hi everybody, > > I was wondering if there was a way to

[jQuery] Re: jQuery next() to find

2009-04-27 Thread Remon Oldenbeuving
hi, $(document).keydown (function(e) { if (e.keyCode == 37) if(n == $('select option:selected').prev('option').val()) location.href = n; if (e.keyCode == 39) if(n == $('select option:

[jQuery] Re: jQuery next() to find

2009-04-27 Thread Remon Oldenbeuving
Try changing .val() into .text() or .html() On 27 apr 2009, at 22:51, dimitre wrote: thanks for the quick answer, unfortunately no, I can't understand why but it returns "undefined" On Apr 27, 5:37 pm, Remon Oldenbeuving wrote: hi, $(document).keyd

[jQuery] Re: How to get file name

2009-04-28 Thread Remon Oldenbeuving
I dont think there's a real jQuery way, you could use regular expressions, or maybe split the string with .split('/') On 28 apr 2009, at 10:36, "David .Wu" wrote: $('img').attr('src') -> This will get images/xxx.gif How to get xxx.gif by jQuery?