I have a string of data..
This is a template body for <<Approved>> <<Submitted>>
I want to replace "<" with "<<" and ">" with ">>"
To replace "<" I wrote this code..
var body = $('#txtHSliderl').val().replace("<", "<<");
But it only seems to replace the first occurrence..
This is a template body for <<<Approved>> <<Submitted>>
How do I replace all occurrences?