Title: Message

And here is the kicker:

-          In IE only: if you use innerHTML there is a 1ms-100ms lag between the DOM tree/DOM nodes being updated with your new HTML. However it is instantly visible to the user.

 

 

I have been using innerHTML to insert Ajax retrieved content and applying observers to that content using EventSelectors without any problem.

 

But I'd like to be safe.  Is there a safer way to know when the DOM tree is ready before applying observers ?

 

Sam

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to