i dont understant what you said but ill answer what i understood from it.
Elements.From creates DOM elements from a string that you pass to it, and
then you can insert the returned nodes into the DOM.


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


On Fri, Oct 23, 2009 at 3:21 PM, mmjaeger <[email protected]> wrote:

>
> Thanks for replying - I guess it's Elemtents.From then as set('html',
> value) basically just pastes the code into the innerHTML and not
> adding it to the DOM, right?
>
> On Oct 23, 10:13 am, Fábio M. Costa <[email protected]> wrote:
> > the fastest way is by using set('html', 'value') as you just said.
> >
> > But if you cant you can use Elements.From:
> >
> > http://mootools.net/docs/more/Element/Elements.From
> >
> > --
> > Fábio Miranda Costa
> > Solucione Sistemas
> > Engenheiro de interface
> >
> >
> >
> > On Fri, Oct 23, 2009 at 3:04 PM, mmjaeger <[email protected]> wrote:
> >
> > > Hello
> > > I was just wondering what the easiest way would be to add some html
> > > code e.g. a whole table that I'm getting back from an AJAX request to
> > > the DOM instead of just adding it into a DIV tag for instance by using
> > > element.set('html', response);
> >
> > > Thank you in advance for your input.
>

Reply via email to