[Project_owners] Pre tag + XUL

Neil neil at parkwaycc.co.uk
Thu May 28 02:14:59 PDT 2009

joe ertaba wrote:

> I can get the text of my_pre using innerHTML, but in my case I need 
> plain text (redblue)
> Is there any way to extract the text from the pre element without format?

Try creating a range, selecting the pre element, and then converting it 
to a string.

More information about the Project_owners mailing list