Szukam sposobu, aby utworzyć elementy tworzą ciąg np tego nie robi praca:String HTML Mootools Element
$('some').adopt('<span>test</span>');
należy użyć new Element
ale mam ogromny ciąg HTML. Mógłbym to zrobić:
new Element('div', {html: hugeHtmlString});
ale jest tak źle. Dlaczego nie może być tak proste, jak to jest w jQuery
Gdzie jest wielki różnica między 'nowym elementem (...)' a '$ (...)'? – Tomalak
http://mootools.net/docs/more/Element/Elements.From – stecb