Re: Setting span html element text in C++

Vaibhav <[email protected]> Sun, 18 Apr 2010 21:44:05 -0700 (PDT)
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <d7e1647d-2e14-4c18-bdc2-de5155aa9f36@r18g2000yqd.googlegroups.com>
On Apr 13, 11:40 pm, Boris Zbarsky <[email protected]> wrote:
> On 4/13/10 2:01 AM, Vaibhav wrote:
>
> > In Javascript, I used 'textcontent' javascript property to set span
> > element text.
>
> > How can I do it in C++?
>
> See nsIDOM3Node.textContent
>
> -Boris

Very Thanks Boris,

It is a solution.

I got another solution as:
Create a text node and append it as child of span element.

Vaibhav.