I agree.
The query param is more of a hack "if you don't control the serving
template." ;)
On 10/31/11 6:19 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
> >>you can add
> something like '?cachebuster=' + new Date().getTime() to your request URL.
>
> Right, but I prefer the first method.
> Fi
>>you can add
something like '?cachebuster=' + new Date().getTime() to your request URL.
Right, but I prefer the first method.
First because my Ajax function is getting the url in a parameter, sometimes
with ?values in it, sometime with none, so sometimes ?cachebuster=should be
added, sometime
re code, but work as well.
Thanks for the help!
Rick
-Original Message-
From: .jonah [mailto:jonah@creori.com]
Sent: Monday, October 31, 2011 6:16 PM
To: cf-talk
Subject: Re: OT, JS : Why am I getting this error?
And if you don't control the that serving template, yo
Ok... will do...
-Original Message-
From: Claude Schnéegans
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >Nope... no IE for dev. Always FF with FB.
OK, but still, use these headers, in case you have some users under IE.
~
And if you don't control the that serving template, you can add
something like '?cachebuster=' + new Date().getTime() to your request URL.
On 10/31/11 3:13 PM, =?ISO-8859-1?Q?Claude_Schn=E9egans wrote:
> >>Nope... no IE for dev. Always FF with FB.
>
> OK, but still, use these headers, in case
Ha! Nice.
We get so used to non-typed CFML. ;)
On 10/31/11 3:07 PM, Rick Faircloth wrote:
> The console.log showed that all values were correct,
> but I needed to use parseInt when calculating values
> to avoid concatenation.
~
>>Nope... no IE for dev. Always FF with FB.
OK, but still, use these headers, in case you have some users under IE.
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?t
atpos + 2 || dotpos + 2 ==
> fieldToValidate.val().length )
>
>
>
> -Original Message-
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: Monday, October 31, 2011 5:19 PM
> To: cf-talk
> Subject: RE: OT, JS : Why am I getting this error?
>
>
Nope... no IE for dev. Always FF with FB.
-Original Message-
From: Claude Schnéegans
[mailto:=?ISO-8859-1?Q?Claude_Schn=E9egans >and sometimes changes document changes don't refresh
Are you using Explorer ?
There is a well known bug in IE about caching Ajax requests.
See
http://coldfus
>>and sometimes changes document changes don't refresh
Are you using Explorer ?
There is a well known bug in IE about caching Ajax requests.
See
http://coldfusion.tcs.de/coldfusion-ie-cache-problem-with-repeating-ajax-requests/
I've added this at the top of the called template, and it solved t
atpos + 2 || dotpos + 2 ==
> fieldToValidate.val().length )
>
>
>
> -Original Message-
> From: Rick Faircloth [mailto:r...@whitestonemedia.com]
> Sent: Monday, October 31, 2011 5:19 PM
> To: cf-talk
> Subject: RE: OT, JS : Why am I getting this error?
>
>
> We
---Original Message-
From: .jonah [mailto:jonah@creori.com]
Sent: Monday, October 31, 2011 4:51 PM
To: cf-talk
Subject: Re: OT, JS : Why am I getting this error?
what I'd do in this case is log each of the tests above the if.
console.log(atpos);
console.log(dotpos);
console.log(fiel
ilto:jonah@creori.com]
Sent: Monday, October 31, 2011 4:51 PM
To: cf-talk
Subject: Re: OT, JS : Why am I getting this error?
what I'd do in this case is log each of the tests above the if.
console.log(atpos);
console.log(dotpos);
console.log(fieldToValidate.val().length);
console.log(atpos <
t;
>
>
> -Original Message-
> From: .jonah [mailto:jonah@creori.com]
> Sent: Monday, October 31, 2011 4:28 PM
> To: cf-talk
> Subject: Re: OT, JS : Why am I getting this error?
>
>
> In JS Comparison (what you are doing) is "==", while assignment (what
&
, 2011 4:28 PM
To: cf-talk
Subject: Re: OT, JS : Why am I getting this error?
In JS Comparison (what you are doing) is "==", while assignment (what
it's complaining about) is "=".
On 10/31/11 1:19 PM, Rick Faircloth wrote:
> Assuming the vars are correctly as
In JS Comparison (what you are doing) is "==", while assignment (what
it's complaining about) is "=".
On 10/31/11 1:19 PM, Rick Faircloth wrote:
> Assuming the vars are correctly assigned,
> why would this statement:
>
> var atpos = fieldToValidate.val().indexOf('@');
> var dotpos = fieldToValid
16 matches
Mail list logo