Re: [Proto-Scripty] Add element but it's a group of elements

2012-11-10 Thread Laurent Barre
perfect 2012/11/10 Jason Westbrook > > $('test').insert(a); // will try and add that content as the content of > that input (which you don't want) > > $('test').insert({"after":a}); //will insert that content AFTER the > specified element > > Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail

Re: [Proto-Scripty] Add element but it's a group of elements

2012-11-09 Thread Jason Westbrook
$('test').insert(a); // will try and add that content as the content of that input (which you don't want) $('test').insert({"after":a}); //will insert that content AFTER the specified element Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com On Fri, Nov 9, 2012 at 3:15 PM, Laurent Barre

Re: [Proto-Scripty] Add element but it's a group of elements

2012-11-09 Thread Laurent Barre
it's good. I can add the element in the body. Now, I tried to add this element under "input" element. example : Vous devez saisir une valeur with : $('test').insert(a); but element a is not visible. apparently element "input" isn't considered as an element. do you have a method to locate "i

Re: [Proto-Scripty] Add element but it's a group of elements

2012-11-09 Thread fntzr
Use var a = ' Vous devez saisir une valeur'; $(document.body).insert(a); -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com. To unsubscribe fro

[Proto-Scripty] Add element but it's a group of elements

2012-11-09 Thread Laurent Barre
Hi, I tried to add an element with the new element method. this element is : Vous devez saisir une valeur and I'd like to insert this element in the body. I searched in the documentation, but I could'nt find an example. How can I do this ? Thank. -- You received this message because you