Hi
I''m having a div-container where I acces an element by Element.down().
This works fine until I exchange the container-content by
Element.update(). After that I can''t access the element anymore with
IE (7.0), with Firefox it''s working.
first time this works:
shirt=$(''activeSheet'').down();
shirt.hide();
then:
$(''activeSheet'').update($(''nextSheet'').innerHTML);
and now this doesn''t work anymore:
shirt=$(''activeSheet'').down();
shirt.hide();
IE says now that shirt doesn''t support this method!
It seems to me that after updating the container IE messes with the
DOM and is still accessing the old, discarded element.
Could anybody help me? Please :-(
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---