[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread Dan G. Switzer, II
When making a GET call via jQuery.ajax, jQuery 1.2.1 adds a URL parameter named '_' (the single underscore character) whose value is the current time stamp. I'm not sure I understand why, and in any case, this caused me some grief when I tried to use it in a Facebook app. The reason is that the

[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread bigethan
So the solution I see here is to disable the caching by setting the 'cache' property to false, and then rolling your own don't cache my ajax calls solution that you can then use in creating the signature for the url. -E

[jQuery] Re: Gotcha in the ajax call

2007-10-22 Thread M. A. Sridhar
No, I don't set the cache property. But I use the 'script' data type for the query (because I want to avoid cross-domain issues) and the jQuery code explicitly sets cache to false when using 'script'. It seems as if I should explicitly set cache to true in my case. But that's really a

[jQuery] Re: Gotcha in the ajax call

2007-10-21 Thread Erik Beeson
That parameter is added when you set the 'cache' property to false. Are you doing that? --Erik On 10/21/07, M. A. Sridhar [EMAIL PROTECTED] wrote: When making a GET call via jQuery.ajax, jQuery 1.2.1 adds a URL parameter named '_' (the single underscore character) whose value is the