Hey all,

Aside from the fact that the minimalistic code works fine, I wonder why
the OP uses:

        <div id="d1">...</div>

        $('d1').replace('<div id="d1">Some data</div>');

instead of:

        $('d1').update('Some data');

Which is less DOM-troubling on the d1 reference (and less risky on MSIE,
maybe...).

-- 
Christophe Porteneuve a.k.a. TDD
"[They] did not know it was impossible, so they did it." --Mark Twain
Email: [EMAIL PROTECTED]

--~--~---------~--~----~------------~-------~--~----~
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