Hi AlcoholicMogli86,

Symfony's right, the Insertion class has been deprecated.

Best,

Tobie

On Dec 20, 5:15 pm, AlcoholicMogli86 <[EMAIL PROTECTED]> wrote:
> Hi symfony,
>
> I think it wouldn´t works because it´s wrong i think.
> You want to insert it, but on which place?
>
> Try Insertion.After('blabla', 'div id="test"
> class="testclass">testdiv</div>');
>
> /*
> Insertion.Before
> Insertion.Top
> Insertion.Bottom
>
> works too..
> */
>
> //---
>
> <html>
> <head>
>   <title></title>
> </head>
> <body>
>
> <p id="blabla"></p>
> //<--- if you impl. a js fuc... this string "div id="test"
> class="testclass">testdiv</div>" would be insert there
>
> </body>
> </html>
>
> //---
>
> On 26 Nov., 21:22, symfony <[EMAIL PROTECTED]> wrote:
>
> > Hello,
> > I've got a problem using Element.insert('<div id="test"
> > class="testclass">testdiv</div>');
> > Everytime I use this in an complex div-structure, the insertion runs
> > fine, but my firebug outputs me an error like "t has no properties".
> > I've been searching for a while and found out, that the problem could
> > be found in the combination of firefox 2.02 and the osx os?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to