forget it.. it works!

the thing is that i have a <script> on the content...
and when it returns, the <script> is gone

On Jan 14, 12:05 am, Francisco Costa <m...@franciscocosta.com> wrote:
> that replaces the target contet with a string "var x=$('#target');
> x.html(x.html()+' ...."
> what is wrong?
>
> On Jan 13, 11:18 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > ajax(url,[...],':eval')
>
> > and in action
>
> > return "var x=$('#target'); x.html(x.html()+'%s');" %
> > content.replace("'","\\'")
>
> > On Jan 13, 4:31 pm, Francisco Costa <m...@franciscocosta.com> wrote:
>
> > > Hello!
> > > I have an ajax function that return some values.
> > > The thing is that I don't want it to replace the content of my target
> > > div.
> > > Instead i would like to append it to the values that are already
> > > there.
> > > Is this possible?

Reply via email to