Although I have a working version, I would like to understand what's
going on.

When I run the following code in IE, opera or FF, the alert box shows
me: "<img>".
    img = new Element('img');
    img = img.wrap('div');
    alert(img.innerHTML);

Could it be that IE somehow has problems with the fact that it's not
"<img />"?

When I look in the source code, IE doesn't render any "img" tag. FF
and Opera do.

It's hard to imagine nobody else had this issue. I will try to google
it a little longer.

I would still appreciate some help though... kangax? :)

Manu.

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