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.
_______________________________________________
Project_owners mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/project_owners

Reply via email to