while we are on this subject, i'm really hanging out for the element
insertion events, i've got 2 projects now where I need to insert elements in
the dom but not as a child of another element but beside.. and it's not
plain HTML, actual nodes.



On 5/15/07, David Dashifen Kees <[EMAIL PROTECTED]> wrote:
>
>
> Have you tried just using the appendChild function rather than the
> Insertion.Bottom object?
>
>
> - Dash -
>
> [EMAIL PROTECTED] wrote:
> > Hello I hit a problem with IE7 using protype v 1.51.
> > I would'like add some row on a table. In the following example I'm
> > using a function 'u()' to inisert a new TR. It works fine with FF but
> > noting append (not even an error) with IE7. Where am I wrong ?
> >
> > <html><head>
> > <script type="text/javascript" src="js/prototype151.js"></script>
> > <script>
> > function u() {
> > var x = new Insertion.Bottom("ilist", "<tr><td>Next row</td></tr>");
> > }
> >
> > </script></head>
> > <body>
> >       <table border="1">
> >       <tbody id='ilist' >
> >               <tr><td>First row</td></tr>
> >       </tbody>
> >       </table>
> > <button onclick="u()">add one TR</button>
> > </body></html>
> >
> >
> > Thanks.
> >
> >
> > >
> >
> >
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to