Your on your lucky day, yes there is!

http://mootools.net/docs/more/Element/Elements.From

--
Fábio Miranda Costa
Solucione Sistemas
Engenheiro de interfaces


On Mon, Mar 1, 2010 at 3:13 PM, duclet <duc...@gmail.com> wrote:

> I see that there is a replaces method that allows me to replace one
> element with another. However, it requires the provided data to be an
> element. What I have is the actually HTML (not the innerHTML however).
> Is there maybe a method already that does that or would I need to
> create one myself? On a site note, is there a method to convert a
> String to an element meaning if I provide the HTML for the element as
> a string, it would create such an element and returns it?
>

Reply via email to