Thanks, Tobie. It works.
On Feb 13, 4:45 pm, Tobie Langel <[EMAIL PROTECTED]> wrote:
> Proper syntax is:
>
> this.field.insert({ after: this.loading });
>
> Best,
>
> Tobie
>
> On Feb 13, 11:33 am, Rauan Maemirov <[EMAIL PROTECTED]> wrote:
>
> > I've changed code from
>
> > new Insertion.After(this.field, this.loading);
>
> > to
>
> > this.field.insert(this.loading, 'after');
>
> > where this.field = $('elem') and this.loading is simple text(html).
>
> > So, it doesn't work.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---