new Ajax.Updater('/foo.html', { insertion: 'top' });
On Nov 13, 5:44 am, Garito <[EMAIL PROTECTED]> wrote:
> Sorry I don't explain myself properly
>
> I would like to implement this insertion in an Ajax.Updater call and
> when I go to the api documentation it sends me to Element.insert (this
> is why I as for it)
>
> How can I insert the element within an Ajax.Updater call?
>
> Thanks and sorry!
>
> On 12 nov, 22:57, kangax <[EMAIL PROTECTED]> wrote:>
> $$('div.Element')[1].insert({
> > after: new Element('div', {className: 'Element'}).update('Element
> > 6')
>
> > })
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---