|
I think Insertion.Bottom isn't for direct element insertion. It is for
text or HTML insertion (i.e. el.innerHTML +='<div
id="one"><h3>...</h3></div>';). For DOM insertion like you're trying, do something like: var parent = $('contentblock'); parent.insertBefore(el, parent.lastChild.nextSibling); I'm not 100% sure that'll work like you want but you get the idea. Colin Ian Tyndall wrote:
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" 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-spinoffs -~----------~----~----~----~------~----~------~--~--- |
- [Rails-spinoffs] Insertion help please Ian Tyndall
- [Rails-spinoffs] Re: Insertion help please Peter Michaux
- [Rails-spinoffs] Re: Insertion help please Colin Mollenhour
- [Rails-spinoffs] Re: Insertion help please Ian Tyndall
- [Rails-spinoffs] Re: Insertion help please Colin Mollenhour
