On Apr 11, 1:01 pm, "krithika" <[EMAIL PROTECTED]> wrote: > On Apr 9, 7:23 pm, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > > > krithika wrote: > > > Here is the code > > > That should work. > > > -Boris > > If the textcontent is surrounded by say <li> I have a problem. > > But if the text content happens to be a then the commentNode > appears. > > regards, > Krithika
Hi, I did added range->Collapse(PR_FALSE) after doing range- >insertNode(...) Now it works.Not sure why!!! regards, Krithika _______________________________________________ dev-tech-layout mailing list [EMAIL PROTECTED] https://lists.mozilla.org/listinfo/dev-tech-layout

