On 3/23/07, Mark <[EMAIL PROTECTED]> wrote:
> ehm.. my javascript knowledge is kinda limited ^_^
> would you (or anyone that has some javascript knowledge) like to make a
> sample code? i can expand it to mu wishes when i have a sample code but it`s
> really hard for me to start from scratch. i can do all the php coding myself

Ok, from my experience you learn more if you figure out stuff yourself
so I wanted to just push you in the right direction, but here is the
code I use:

var timer;
jQuery(function($) {
                $('#text').bind("keyup", function()
                        {
                                clearTimeout(timer);
                                timer = setTimeout(make_request, 1000);
                        });
        });
        
        function make_request() { ajax stuff }


<input type="text" name="text" id="text" size="25"/> <br/>


Hope it gets you going!
Matt

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to