You should never create the request bject inside the click event.

http://jsfiddle.net/6UqAP/8/

Feel free to ask anything.

--
Fábio Miranda Costa



On Sun, Aug 1, 2010 at 7:27 PM, Sid-ahmed D <[email protected]>wrote:

> Thank.
> http://jsfiddle.net/6UqAP/2/
>
> hehe :)
>
> On 2 août, 00:15, Fábio M. Costa <[email protected]> wrote:
> > if you use the option link: 'ignore', no requests will be sent to the
> server
> > if theres a request happening at the moment you try to send another.
> > Your example is form the other mail hehe.
> > Send the correct and i can show how to set the link options, but its
> pretty
> > easy.
> >
> > --
> > Fábio Miranda Costa
> >
> > On Sun, Aug 1, 2010 at 7:03 PM, Sid-ahmed D <[email protected]
> >wrote:
> >
> > > Hi,
> >
> > > How do you block the action of a function when it is started and
> > > reactivate when the application is completed?
> >
> > >http://jsfiddle.net/6UqAP/
> >
> > > Imagine that the query takes 10 seconds to appear, if I continue to
> > > click the go button .. other requests are sent to the server.
> >
> > > Is there a way to block the function without changing the name of the
> > > ID?
>

Reply via email to