[LRUG] Intermittent jQuery Problem

Andrew Stewart boss at airbladesoftware.com
Tue Oct 27 10:50:02 PDT 2009


On 27 Oct 2009, at 17:24, Damian Janowski wrote:
> I'm not sure, if the variable was empty you would still get the
> load[sample_id] key in the params hash.
>
> Are you sure you're getting a request, just without the data? If
> that's the case, then I'd try removing the call to the $.ajax method
> altogether and see if you're still producing a request (maybe there's
> another piece of code generating it?). If that works as expected, I'd
> try removing livequery and use a normal click, see if it works, etc
> etc.

I'm definitely getting the request, without the data.

I'll work backwards as you suggest and try to isolate the problem.

> (BTW, if you're using 1.3+, I think you can use the live method which
> is built in).

The site's a year and a half old and using jQuery 1.2.6.  Upgrading  
would probably be a sensible thing to do.  Perhaps that will solve the  
problem ;)

Thanks for the ideas,

Andy



More information about the Chat mailing list