B Bni New member May 27, 2009 #1 Is there anyway to extract text of a pre element using JavaScript? example: <pre> <span style="color:red">red</span> <span style="color:blue">blue</span> </pre> convert to: redblue
Is there anyway to extract text of a pre element using JavaScript? example: <pre> <span style="color:red">red</span> <span style="color:blue">blue</span> </pre> convert to: redblue
S sudhakar.analyst New member May 27, 2009 #2 user the html color code instead of give red eg <pre> <span style="color:#232323">red</span> <span style="color:#232323">blue</span> </pre>
user the html color code instead of give red eg <pre> <span style="color:#232323">red</span> <span style="color:#232323">blue</span> </pre>