Thanks, that solutions works fine.

thanks for your Help and Happy new year 2010

On Jan 2, 2:47 pm, Šime Vidas <sime.vi...@gmail.com> wrote:
> obj.html(obj.children().html());
>
> obj.children() selects the SPAN that we created...
> obj.childern().html(), therefore, returns all the content of the SPAN,
> which was originally the content of the P
>
> we want to set the content back from the SPAN to the P... so, we have
> to put the content that we selected inside the html() method ...
>
> obj.html (  obj.children().html()  )

Reply via email to