obsolete attributes "should" be ignored.  I used the form name attribute as
a way of knowing which AJAX module to call on behalf of that form.  That
allows my dofill() to serve many forms.

I've seen very few pages of any type that validates 100% and browsers
accomodate this and that's one reason why there are soo many differences in
how browsers act on a given page.

In this case, it was working then we started getting complaints but they
were intermittent and finally we were able to narrow it down to a problem we
could duplicate and once duplicated it was easy to find (but harder to fix).

By changing the doctype, none of our pages will validate at this point but
that's another issue that we'll fix in the next major release.

When I posted the original question we had no idea why form.serialize was
failing and still dont think it should fail even if there was a $nbsp;
somewhere in the field. form.serialize should process each field and if data
is present, serialize it and if not skip it.  A div or field with a space
should not matter.

Like I said though, the key is not just in changing the doctype but you also
have to force compatibility mode.  This, to me, is a greater issue as
it indicates a bug somewhere in either IE9 or prototype... but regardless of
where it is, it causes prototype to fail.

On Thu, Oct 27, 2011 at 10:57 AM, Victor <vkhomyac...@gmail.com> wrote:

> Problem is somehow related to XHTML and IE9.
>
> If you occasionally serve document as xhtml+xml, document should pass
> validation to work in browser. I've noticed <form name="..."> in your
> example, but *name* attribute is obsolete for *form* tag in XHTML1.0, or
> maybe you have *&nbsp;* somewhere in your markup.
>
> You can invoke $('myform').serialize() in debugger console at any time -
> this may reveal some clues.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Prototype & script.aculo.us" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/prototype-scriptaculous/-/Kp0Uc3wWl2cJ.
>
> To post to this group, send email to
> prototype-scriptaculous@googlegroups.com.
> To unsubscribe from this group, send email to
> prototype-scriptaculous+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/prototype-scriptaculous?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to