Hey all, I basically output content into a div like this using jquery:
var text = $("#edit").val();
$("#output").text(text);
But I want to turn “<” and “>” into “<” and “>”.
text.replace(/</,"<"); doesn’t seem to be working for me…
Any ideas? Many thanks
Simple.