Thanks you for all replies.
How can I be sure elements are in the DOM ?

On 27 juil, 19:52, Thierry bela nanga <[email protected]> wrote:
> this is very bad, you will destroy events associated to every elements, use
> this instead:
>
> http://mootools.net/docs/more/Element/Elements.From
> <http://mootools.net/docs/more/Element/Elements.From>
>
>
>
> On Tue, Jul 27, 2010 at 6:46 PM, ken <[email protected]> wrote:
> > not sure if it there is one but you can implement one
>
> > Element.implement({
> >  appendHTML: function(html) {
> >    this.set('html',this.get('html')+html);
> >    return this;
> >  }
> > });
> > document.body.appendHTML('<div></div>');
>
> > On Jul 28, 1:41 am, Sid-ahmed D <[email protected]> wrote:
> > > Hi all,
>
> > > I wonder if there is an equivalent as [b]appendHTML[/b] (jQuery) for
> > > Mootools?
> > > I would add [i]HTML code[/i], in the DOM.
>
> > > Merci à tous :)
>
> --http://tbela99.blogspot.com/
>
> fax : (+33) 08 26 51 94 51

Reply via email to