2011/5/10 Scrooge <off...@cachaca.at>

> Hello,
>
> I regularly use Ajax.Updater to add rows to tables. As html element to
> display the result in I use <tbody> and the server creates a result
> for the ajax call like "<tr><td>something etc.</td></tr>". This worked
> like a charm for several years now in both, Firefox and IE.
>
> Anyway in Firefox 4 it stopped working. It still sends the ajax call
> to the server and the server processes it (I know this, because the
> call also should add a row in a database, and this is done as normal)
> but the result is not shown.
>
> If I change the html result element to a <div> or something else it
> works again, so it particularly has a problem to display the result in
> a <tbody> element. But I just need to have the result as additional
> table rows, it is just what is semantically correct.
>
> The error console of firefox does not show any error.
>
> My Ajax-code is pretty standard:
>
> function add_orderitem_ajax() {
>
> new Ajax.Updater('orderitem', 'http://www.somehost.com/script.php', {
>  method: 'post',
>  parameters: $('productchooser').serialize(true),
>  insertion: Insertion.Bottom,
>  evalScripts: 'true'
>  });
>
> }
>
> While 'orderitem' is the id of the <tbody> tag the result should be
> displayed in.
>
> Does anybody know whether my way of adding additional table rows with
> ajax is ok? It worked for years but perhaps Firefox now has enforced
> rules on what is allowed and what not? Or is it a bug?
>
> Best Regards,
> Benedikt.
>
> --
> 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.
>
>

do work  the same page with FF 3?
using Firebug, could you see the answer of the ajax request? and try it in
the console $('orderitem')......
I had see this problem when the ID is duplicated, could you check it?


-- 
________________________________________
Lo bueno de vivir un dia mas
es saber que nos queda un dia menos de vida

-- 
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