On Fri, Aug 6, 2010 at 5:57 AM, Trish <[email protected]> wrote: > When the new row renders, part of the code from my partial > disappears. I know it sounds crazy... and I have no clue what's > happening. > > As I stated before, my partial looks like this... > > <tr id="id_details"> > <table cellpadding="5" cellspacing="0" border="0" style="padding- > left: 50px;"> ... > </table> > </tr>
Sorry, haven't been following this thread but that just jumped out at me: that's totally invalid HTML. A TABLE can't be a child of a TR -- would have to be a TD or TH. Invalid markup pretty much guarantees you JS problems; make sure your initial page validates and go from there. Your markup, by the way, is extremely old-school; you'd be better off pulling all that archaic inline styling out into a stylesheet -- much easier to read and maintain, among other things... FWIW, -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

