Is there a way to get a reference to the BODY tag node in the DOM if it has no class or ID attribute by which to select it?
I want to insert a dynamically created node right before the closing body tag. Here's where I was going, but I'm not sure how to reference the BODY tag node. var body_tag = ? var speaker_div = new Element('div', { 'id': 'my_div', 'style': 'width: 1px; height: 1px;' }).insert(body_tag, { position: 'bottom' }); --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---