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