[jQuery] Re: Delayed execution

2009-04-24 Thread temega

something along the lines of this:

var interval;
$(#searchField).keyup(function(){
clearInterval(interval);
interval = setInterval($.post(), '200');
});


On Apr 24, 1:46 pm, Dragon-Fly999 dragon-fly...@hotmail.com wrote:
 Hi, my page allows the user to enter a number in a text box and a
 search request is sent to the server (if the user stops typing for 200
 ms) using AJAX.  The following is the desired behavior.

 (1) User starts typing a number in the text box.  As the user is
 typing, no search requests are sent to the server.
 (2) Once the user stops typing (i.e. no key events for 200 ms), use
 $.post() to execute a search.

 What is a good way to detect that the user hasn't typed anything for
 200 ms?  Is there anything in JQuery that I can use? Thank you.


[jQuery] Re: jQuery + Firefox - Potential bug with hover event?

2009-04-23 Thread temega

I haven't tried that yet. I have tried it with the jQuery mouseleave
and mouseenter events and same problem occurs.

On Apr 23, 2:03 am, Dave Methvin dave.meth...@gmail.com wrote:
 Happens here as well. Does it happen with bare DOM functions too?


[jQuery] Re: jQuery + Firefox - Potential bug with hover event?

2009-04-23 Thread temega

I've added an example with bare DOM event binds and that does not
cause the problem.

See link for example

On Apr 23, 10:09 am, temega tem...@gmail.com wrote:
 I haven't tried that yet. I have tried it with the jQuery mouseleave
 and mouseenter events and same problem occurs.

 On Apr 23, 2:03 am, Dave Methvin dave.meth...@gmail.com wrote:

  Happens here as well. Does it happen with bare DOM functions too?


[jQuery] jQuery + Firefox - Potential bug with hover event?

2009-04-22 Thread temega

I came across this at work using jQuery 1.2.4 and now replicated it at
home with jQuery 1.3.2.

Instructions and example here: http://www.temega.co.uk/dump/4pqjql.html


[jQuery] Re: Form Editor like WUFOO.com with JQUERY??

2008-11-28 Thread temega

jQuery has great Drag and Drop features

On Nov 28, 10:27 am, eutelsat [EMAIL PROTECTED] wrote:
 Please can you help me to decide which tecnology is more appropiate?
 YUI, JQUERY or just another Library

 Hi I'm planning to develop something like a Form Editor in WUFOO with
 JQUERY.
 Needing Drag  Drop and object graphical selector moreover some custom
 code.

 Thanks in advance
 Jordi


[jQuery] How to detect a autocomplete on a input field?

2008-11-24 Thread temega

I'm creating a login box that has a Username and Password field. Their
label is displayed inside the input field them self, so you see
Username and Password in the field when the page is loaded and
when you focus the field this label is hidden. It's actually a
background image that a hide and show on focus and on blur.

Now my problem detecting auto completions by browsers. The change
event doesn't get called when a field is auto completed so I have no
idea how to detect this...

Any ideas?


[jQuery] How do I find out what the type of the HTML object?

2008-08-26 Thread temega

So I got this code:

$(document).click(function(e){
   var target = $(e.target);

})

How do I find out what HTML object (A, SPAN, DIV...) the target var
is?

Thanks.