How to replace a Character in text By jquery
How to replace a charcter within a text For instance
<script>alert("Hi i am nishant");</script>开发者_C百科
here i want to replace < and > by ASCII code so how i will replace it.
var text = text.replace(/</g, "<").replace(/>/g, ">");
精彩评论