2008/11/20 jason maina <[EMAIL PROTECTED]> > While building ontop of this, a new issue comes up, I want to replace a > whole row with controls like an inplace editor only that im not editing a > given cell at a time im editing a whole record as displayed on the > interface. > Have used the following codes getting errors: > - Element(trID).replace(tr) //tr is a dynamically contructed row with > cells and data now an ID has been included to the rows > element.parentNode is null > > - $('TableID').down('tbody').replace(tr) //replaces the whole tbody > section for the tr loosing all other data in the section as expected > > Now im lost, someone please show me the way > > Maybe https://developer.mozilla.org/en/DOM/element.replaceChild
--~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---