How to replace HTML/DOM sourced data with another value

How to replace HTML/DOM sourced data with another value

curioucuriou Posts: 39Questions: 10Answers: 0

If my data is being sourced from a HTML/DOM source, how do I replace specific values for another value. For example let's say I'm using:

column(1).data().unique().sort().each(...)

to create an array of the unique values in the column. How would I simultaneously replace all instances of "None" with "" (blank)? I know how to use orthogonal data to render specific values for display purposes, but can you do something similar in the above scenario?

Thanks

Answers

This discussion has been closed.