> i reached a result with
> responseElements[0].inject($('work'),'bottom');

I  don't know why you'd end up using responseElements. As Ryan pointed
out,  that's  just a flattened list of els. I don't think I've had any
occasion to inject that form (though it's good for data parsing).

> Question: Why are the style-Orders (style="background-color:blue;") in
> your example arent executed?

A bug in 1.2, not present in 1.3. Not all browsers are affected (IE is
not).

What happens is the responseTree is seen by the browser as generic DOM
elements    (Element),    not    specifically    HTML   DOM   elements
(HTMLDIVElement).  So  the  style  attribute  is  preserved, but isn't
treated  as  an inline CSS style, just a generic attribute. This leads
to  strange  CSS  problems,  since  the  els  can be styled using type
selectors but not using typical CSS-related attributes (class, style).

-- S.

Reply via email to