jQuery: The Write Less, Do More JavaScript Library

(validate) no data submitted to remote: from IE6 - works fine in IE7+, FF, Safari, Chrome

View: New views
2 Messages — Rating Filter:   Alert me  

(validate) no data submitted to remote: from IE6 - works fine in IE7+, FF, Safari, Chrome

by AdamC-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

We're using jquery.validate for a form with several fields.  One of
the rules uses the remote: method to send a field to the server, which
replies with eithe "true" or "false" (as a string).  This works in
IE7+, Firefox 2-3.5, Safari and Chrome but not in IE6.  The debug bar
for IE6 lists no POST request at all - but it does list a "200 OK"
response!  But the response has no length, (i.e. is empty) so the form
won't validate.

The entire header shown for IE6 is
HTTP/1.1 200 OK
X-Powered-By: PHP/5.2.8
Keep-Alive: timeout=10, max=84
Transfer-Encoding: chunked
Content-Type: text/html

Whereas for IE7 (etc) i have a post reqest with response
HTTP/1.1 200 OK
Date: Thu, 02 Jul 2009 13:45:24 GMT
Server: Apache
X-Powered-By: PHP/5.2.8
Content-Length: 4
Keep-Alive: timeout=10, max=90
Connection: Keep-Alive
Content-Type: text/html

We're using jquery.validate 1.5.5 with jquery 1.3.2  Before I go
completely mad trying to figure this out, I wanted to check if there
was any know incompatibilities between this version of validate and
IE6.  (I found some stuff from google which suggested the .min.js and/
or .pack.js versions didn't work with IE6 so i've changed to the
uncompressed version but to no avail.

Many thanks,

Adam

Re: (validate) no data submitted to remote: from IE6 - works fine in IE7+, FF, Safari, Chrome

by James-279 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'm using the same versions of validation and jquery and do not have
problems in IE6 regarding remote validation.

In IE6, if you alert the returned content, does anything get alerted?
If it returned some headers, that should mean a response was received.

On Jul 2, 4:46 am, AdamC <adam.con...@...> wrote:

> Hi,
>
> We're using jquery.validate for a form with several fields.  One of
> the rules uses the remote: method to send a field to the server, which
> replies with eithe "true" or "false" (as a string).  This works in
> IE7+, Firefox 2-3.5, Safari and Chrome but not in IE6.  The debug bar
> for IE6 lists no POST request at all - but it does list a "200 OK"
> response!  But the response has no length, (i.e. is empty) so the form
> won't validate.
>
> The entire header shown for IE6 is
> HTTP/1.1 200 OK
> X-Powered-By: PHP/5.2.8
> Keep-Alive: timeout=10, max=84
> Transfer-Encoding: chunked
> Content-Type: text/html
>
> Whereas for IE7 (etc) i have a post reqest with response
> HTTP/1.1 200 OK
> Date: Thu, 02 Jul 2009 13:45:24 GMT
> Server: Apache
> X-Powered-By: PHP/5.2.8
> Content-Length: 4
> Keep-Alive: timeout=10, max=90
> Connection: Keep-Alive
> Content-Type: text/html
>
> We're using jquery.validate 1.5.5 with jquery 1.3.2  Before I go
> completely mad trying to figure this out, I wanted to check if there
> was any know incompatibilities between this version of validate and
> IE6.  (I found some stuff from google which suggested the .min.js and/
> or .pack.js versions didn't work with IE6 so i've changed to the
> uncompressed version but to no avail.
>
> Many thanks,
>
> Adam